only provide ES2_compatibility workaround for non gles devices

This commit is contained in:
degasus 2013-06-26 13:14:46 +02:00
parent 0037acbbaa
commit 99d32e756f
1 changed files with 2 additions and 0 deletions

View File

@ -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()
{