From 1d51ff565de2c77c2ff42504d799baa5741bbf28 Mon Sep 17 00:00:00 2001 From: "baka0815.de" Date: Mon, 25 Feb 2019 15:43:57 +0100 Subject: [PATCH] Java/GLES: Initialize the view with a stencil buffer of 8 (instead of 0) --- .../src/main/java/com/reicast/emulator/GL2JNIActivity.java | 2 +- .../main/java/com/reicast/emulator/config/EditVJoyActivity.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/GL2JNIActivity.java b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/GL2JNIActivity.java index f86769dd0..88595a2b9 100644 --- a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/GL2JNIActivity.java +++ b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/GL2JNIActivity.java @@ -203,7 +203,7 @@ public class GL2JNIActivity extends Activity { // Create the actual GLES view mView = new GL2JNIView(GL2JNIActivity.this, fileName, false, - prefs.getInt(Config.pref_renderdepth, 24), 0, false); + prefs.getInt(Config.pref_renderdepth, 24), 8, false); setContentView(mView); //setup mic diff --git a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/EditVJoyActivity.java b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/EditVJoyActivity.java index 810f3b4d8..8639f911b 100644 --- a/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/EditVJoyActivity.java +++ b/shell/android-studio/reicast/src/main/java/com/reicast/emulator/config/EditVJoyActivity.java @@ -64,7 +64,7 @@ public class EditVJoyActivity extends Activity { // Create the actual GLES view mView = new GL2JNIView(EditVJoyActivity.this, fileName, false, - prefs.getInt(Config.pref_renderdepth, 24), 0, true); + prefs.getInt(Config.pref_renderdepth, 24), 8, true); mView.setFpsDisplay(null); setContentView(mView);