Permalink
Browse files

Don't use VertexArrays and VBOs, even on native builds (issues for now)

  • Loading branch information...
gabrielcuvillier committed Feb 10, 2019
1 parent ca02b97 commit 4167f4a1d1f0f9cf6de3d616c98ff19df757ff8d
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/graphics/opengl/OpenGLRenderer.cpp
@@ -230,12 +230,8 @@ void OpenGLRenderer::reinit() {
}
}

#ifdef __EMSCRIPTEN__
// Disable usage of VertexArrays and VBOs Emscripten, due to Regal not supporting MapBuffers
// Disable usage of VertexArrays and VBOs
useVertexArrays = false;
#else
useVertexArrays = true;
#endif

if(!GLEW_ARB_draw_elements_base_vertex) {
LogWarning << "Missing OpenGL extension ARB_draw_elements_base_vertex!";

0 comments on commit 4167f4a

Please sign in to comment.