“call to OpenGL ES API with no current context”

前端 未结 1 738
南方客
南方客 2021-01-23 03:19

That\'s what the Dalvik LogCat is saying whenever I uncomment the last line, below. So somewhere along the way, a current context isn\'t being created at all. Why? Thanks for

相关标签:
1条回答
  • 2021-01-23 04:15

    You should use EGL.eglMakeCurrent before calling any OpenGL functions. This will make the context current in the thread.

    0 讨论(0)
提交回复
热议问题