mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
only provide ES2_compatibility workaround for non gles devices
This commit is contained in:
@ -255,6 +255,7 @@ void ErrorCallback( GLenum source, GLenum type, GLuint id, GLenum severity, GLsi
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef USE_GLES3
|
||||||
// Two small Fallbacks to avoid GL_ARB_ES2_compatibility
|
// Two small Fallbacks to avoid GL_ARB_ES2_compatibility
|
||||||
void GLAPIENTRY DepthRangef(GLfloat neardepth, GLfloat fardepth)
|
void GLAPIENTRY DepthRangef(GLfloat neardepth, GLfloat fardepth)
|
||||||
{
|
{
|
||||||
@ -264,6 +265,7 @@ void GLAPIENTRY ClearDepthf(GLfloat depthval)
|
|||||||
{
|
{
|
||||||
glClearDepth(depthval);
|
glClearDepth(depthval);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void InitDriverInfo()
|
void InitDriverInfo()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user