Issue
If I run glGetString(GL_EXTENSIONS) in my NDK code (C/C++), I get a list of 38 supported extensions. But if I access OpenGL ES 3.2 in Java and run GLES32.glGetString(GLES32.GL_EXTENSIONS), I get a list of 74 supported extensions.
I assume the problem is that my NDK application links the libGLESv3.so library, which doesn't provide any features beyond OpenGL ES 3.0. It would be nice if there was a libGLESv32.so library, but I can't find one.
Is there any way to access those extra extensions in an NDK application?
Solution
There is no such thing as a GLESv32.so library (in principle there shouldn't even be a GLESv3.so); OpenGLES 3.x is designed to be backwards compatible with OpenGL ES 2.x, so all applications should link with GLESv2.so even for GLESv3 functionality.
Answered By - solidpixel
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.