mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 23:11:14 +01:00
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…
x
Reference in New Issue
Block a user