按照教程开发OpenglES2.0应用,遇到Logcat报错“Called unimplemented OpenGL ES API”

在论坛和stackoverflow上找到了答案。

1.manifest里面加上 <uses-feature android:glEsVersion="0x00020000" android:required="true" />

2.surfaceView要设置 mGLSurfaceView.setEGLContextClientVersion(2); 

就酱紫

相关文章:

  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-28
  • 2021-11-26
  • 2022-01-10
猜你喜欢
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2021-08-14
相关资源
相似解决方案