Android Ndk Glreadpixels() From Offscreen Buffer
I'm writing a game using android ndk. I'm using picking to select objects in opengl. For that i have an offscreen framebuffer object where i render into and i use glReadPixels() to
Solution 1:
the problem was just a threading issue. all openGL calls have to be done in the same thread. Otherwise this can result in weird behavoir like this and worse.
Solution 2:
Dirk's suggestion fixed my issue. It was thread context.
Post a Comment for "Android Ndk Glreadpixels() From Offscreen Buffer"