Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
only provide ES2_compatibility workaround for non gles devices
  • Loading branch information
degasus committed Jun 26, 2013
1 parent 0037acb commit 99d32e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Plugins/Plugin_VideoOGL/Src/Render.cpp
Expand Up @@ -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)
{
Expand All @@ -264,6 +265,7 @@ void GLAPIENTRY ClearDepthf(GLfloat depthval)
{
glClearDepth(depthval);
}
#endif

void InitDriverInfo()
{
Expand Down

0 comments on commit 99d32e7

Please sign in to comment.