Android OpenGL demo “No config chosen”

后端 未结 3 1828
野的像风
野的像风 2020-12-17 08:42

I\'m having a real problem with the Google\'s OpenGL demo for Android. I set it up in Eclipse but can\'t get it to execute. It builds with no problems, but then stops at

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-17 09:32

    The solution was just to place super.setEGLConfigChooser(8 , 8, 8, 8, 16, 0); inside the MyGLSurfaceView class right before the setRenderer(new MyGLRenderer()); line.

提交回复
热议问题