sensics / OSVR-RenderManager

Apache License 2.0
64 stars 45 forks source link

Fix multiple definition of function pointers in OpenGL ES (Android) #368

Closed rpavlik closed 6 years ago

rpavlik commented 6 years ago

Not sure how this was building before on Android, but it didn't build with a newer NDK 16b-based setup (using clang and libc++). Pretty clear duplicated definition, fairly straightforward resolution. File statics are guaranteed to be initialized by the time any code later in the file/TU is run, IIRC, so this should be the safe solution.