diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index 93f4e2a37c..98e85e31e5 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -255,6 +255,7 @@ void ErrorCallback( GLenum source, GLenum type, GLuint id, GLenum severity, GLsi #endif } +#ifndef USE_GLES3 // Two small Fallbacks to avoid GL_ARB_ES2_compatibility void GLAPIENTRY DepthRangef(GLfloat neardepth, GLfloat fardepth) { @@ -264,6 +265,7 @@ void GLAPIENTRY ClearDepthf(GLfloat depthval) { glClearDepth(depthval); } +#endif void InitDriverInfo() {