Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add some ifdef magic to GLFunctions.cpp to make it not directly depen…
…dant on GLESv3.
  • Loading branch information
Sonicadvance1 committed Aug 15, 2013
1 parent 06620ff commit 10f6117
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Plugins/Plugin_VideoOGL/Src/GLFunctions.cpp
Expand Up @@ -72,7 +72,11 @@ namespace GLFunc
LoadFunction("glDeleteQueries", (void**)&glDeleteQueries);
LoadFunction("glGenQueries", (void**)&glGenQueries);
{
#ifdef USE_GLES
LoadFunction("glMapBufferOES", (void**)&glMapBuffer);
#else
LoadFunction("glMapBuffer", (void**)&glMapBuffer);
#endif
LoadFunction("glUnmapBuffer", (void**)&glUnmapBuffer);
LoadFunction("glMapBufferRange", (void**)&glMapBufferRange);
LoadFunction("glBindBufferRange", (void**)&glBindBufferRange);
Expand Down

0 comments on commit 10f6117

Please sign in to comment.