sensics / OSVR-RenderManager

Apache License 2.0
63 stars 45 forks source link

Removing the use of a Vertex Array Object in the OpenGL code. We're … #217

Closed russell-taylor closed 7 years ago

russell-taylor commented 7 years ago

…only using Vertex Buffer Objects now, which is compatible with all versions of OpenGL ES 2.0 and forward.

This may make a fraction of a microsecond difference in code execution, but that code is executed only once per eye per frame. This avoids us having to split into two different #ifdef code paths, one for GLES 2.0 and another for the rest of OpenGL.

russell-taylor commented 7 years ago

Works on Windows 10. At least compiles on Linux.