mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-22 00:42:38 +00:00
supposedly this was necessary
This commit is contained in:
1 file changed
+5
@@ -291,6 +291,11 @@ class GeometryDashActivity : AppCompatActivity(), Cocos2dxHelper.Cocos2dxHelperL
|
|||||||
frameLayout.addView(this.mGLSurfaceView)
|
frameLayout.addView(this.mGLSurfaceView)
|
||||||
|
|
||||||
glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8)
|
glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8)
|
||||||
|
|
||||||
|
if (isAndroidEmulator()) {
|
||||||
|
glSurfaceView.setEGLConfigChooser(8, 8, 8, 8, 16, 0)
|
||||||
|
}
|
||||||
|
|
||||||
glSurfaceView.initView()
|
glSurfaceView.initView()
|
||||||
glSurfaceView.setCocos2dxRenderer(Cocos2dxRenderer())
|
glSurfaceView.setCocos2dxRenderer(Cocos2dxRenderer())
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user