diff --git a/shell/android-studio/app/src/main/java/com/reicast/emulator/emu/GL2JNIView.java b/shell/android-studio/app/src/main/java/com/reicast/emulator/emu/GL2JNIView.java index 33da8f79e..6651be00b 100644 --- a/shell/android-studio/app/src/main/java/com/reicast/emulator/emu/GL2JNIView.java +++ b/shell/android-studio/app/src/main/java/com/reicast/emulator/emu/GL2JNIView.java @@ -194,6 +194,9 @@ public class GL2JNIView extends GLSurfaceView // See ContextFactory class definition below setEGLContextFactory(new GLCFactory.ContextFactory()); + if (!translucent) + this.getHolder().setFormat(PixelFormat.RGBX_8888); + // We need to choose an EGLConfig that matches the format of // our surface exactly. This is going to be done in our // custom config chooser. See ConfigChooser class definition