mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-20 05:20:14 -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);
|
((ViewGroup)getParent()).addView(surfaceView);
|
||||||
}else{
|
}else{
|
||||||
TextureView textureView = new TextureView(getContext());
|
TextureView textureView = new TextureView(getContext());
|
||||||
|
textureView.setOpaque(true);
|
||||||
mSurface = textureView;
|
mSurface = textureView;
|
||||||
|
|
||||||
textureView.setSurfaceTextureListener(new TextureView.SurfaceTextureListener() {
|
textureView.setSurfaceTextureListener(new TextureView.SurfaceTextureListener() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue