mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-17 20:10:12 -07:00
Update MinecraftGLSurface.java
This commit is contained in:
parent
70b3c5597a
commit
ff819eeb28
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ public class MinecraftGLSurface extends View {
|
|||
}else{
|
||||
TextureView view = (TextureView)mSurface;
|
||||
if(view.getSurfaceTexture() != null){
|
||||
view.setDefaultBufferSize(windowWidth, windowHeight);
|
||||
view.getSurfaceTexture().setDefaultBufferSize(windowWidth, windowHeight);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue