Skip to content

Commit c6f0196

Browse files
authored
don't invoke super.onPause() to prevent egl context lost (#19996)
1 parent e9dca84 commit c6f0196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cocos/platform/android/java/src/org/cocos2dx/lib/Cocos2dxGLSurfaceView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public void run() {
199199
}
200200
});
201201
this.setRenderMode(RENDERMODE_WHEN_DIRTY);
202-
super.onPause();
202+
// super.onPause();
203203
}
204204

205205
@Override

0 commit comments

Comments
 (0)