Java/GLES: Initialize the view with a stencil buffer of 8 (instead of 0)
This commit is contained in:
parent
7e9a545a05
commit
1d51ff565d
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue