mirror of
https://github.com/2009scape/2009Scape-mobile.git
synced 2025-12-17 20:10:12 -07:00
Remove explicit surface unlinking
This commit is contained in:
parent
f2adae6bcf
commit
9c2e1244d8
1 changed files with 2 additions and 5 deletions
|
|
@ -155,9 +155,7 @@ public class MinecraftGLSurface extends View {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void surfaceDestroyed(@NonNull SurfaceHolder holder) {
|
||||
JREUtils.releaseBridgeWindow();
|
||||
}
|
||||
public void surfaceDestroyed(@NonNull SurfaceHolder holder) {}
|
||||
});
|
||||
|
||||
((ViewGroup)getParent()).addView(surfaceView);
|
||||
|
|
@ -183,7 +181,6 @@ public class MinecraftGLSurface extends View {
|
|||
|
||||
@Override
|
||||
public boolean onSurfaceTextureDestroyed(@NonNull SurfaceTexture surface) {
|
||||
JREUtils.releaseBridgeWindow();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
@ -521,7 +518,7 @@ public class MinecraftGLSurface extends View {
|
|||
return true;
|
||||
}
|
||||
}
|
||||
System.out.println(event);
|
||||
//System.out.println(event);
|
||||
|
||||
if(Gamepad.isGamepadEvent(event)){
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue