mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-17 20:10:12 -07:00
Fix weirdly transparent TextureView
This commit is contained in:
parent
1940833b99
commit
582b730289
1 changed files with 1 additions and 0 deletions
|
|
@ -163,6 +163,7 @@ public class MinecraftGLSurface extends View {
|
|||
((ViewGroup)getParent()).addView(surfaceView);
|
||||
}else{
|
||||
TextureView textureView = new TextureView(getContext());
|
||||
textureView.setOpaque(true);
|
||||
mSurface = textureView;
|
||||
|
||||
textureView.setSurfaceTextureListener(new TextureView.SurfaceTextureListener() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue