From 99d32e756f0e89a2b49facd1e0162fc9c7c68188 Mon Sep 17 00:00:00 2001 From: degasus Date: Wed, 26 Jun 2013 13:14:46 +0200 Subject: [PATCH] only provide ES2_compatibility workaround for non gles devices --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() {