Fix transparent screen issue for dex and freeform

This commit is contained in:
SerpentSpirale 2021-08-12 18:37:22 +02:00
parent c5765c3981
commit 50d822cca9

View File

@ -12,6 +12,9 @@ public class MinecraftGLView extends TextureView
public MinecraftGLView(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
//Fixes freeform and dex mode having transparent glass,
//since it forces android to used the background color of the view/layout behind it.
setOpaque(false);
}