Can't call glGenTextures on multithreaded android app

前端 未结 4 520
灰色年华
灰色年华 2021-01-15 14:14

I\'m making an OpenGLES Android app using Android NDK, expanding from android\'s gljni example, which can be found here

It\'s using GLSurfaceView. Textures are initi

4条回答
  •  青春惊慌失措
    2021-01-15 15:01

    I described a java-only solution for uploading textures on a separate thread as an answer to another question: Threading textures load process for android opengl game

    It should work fairly similar with the NDK.

提交回复
热议问题