my prediction was wrong

This commit is contained in:
Chloe committed 2024-11-11 05:49:31 -07:00
1 parent d3a3ab57a1
commit 4a5e4ce85c
2 files changed
+1 -3

No files matched your search

@@ -16,5 +16,5 @@ object Constants {
const val SUPPORTED_VERSION_CODE_MIN = 37L
const val SUPPORTED_VERSION_CODE = 40L
const val SUPPORTED_VERSION_STRING = "2.2.142"
const val SUPPORTED_VERSION_STRING = "2.2.143"
}
@@ -62,9 +62,7 @@ class Cocos2dxGLSurfaceView(context: Context) : GLSurfaceView(context) {
fun initView() {
setEGLContextClientVersion(2)
isFocusableInTouchMode = true
// if (Build.VERSION.SDK_INT >= 11) {
preserveEGLContextOnPause = true
// }
cocos2dxGLSurfaceView = this
cocos2dxTextInputWrapper = Cocos2dxTextInputWrapper(this)
Cocos2dxGLSurfaceView.handler = object : Handler(Looper.getMainLooper()) {