Add some ifdef magic to GLFunctions.cpp to make it not directly dependant on GLESv3.
This commit is contained in:
parent
06620ff364
commit
10f6117905
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue