Fix depth funcs (for now)

This commit is contained in:
Luke Benstead 2020-03-23 15:22:29 +00:00
parent e21b7a0b9c
commit 5c980d2183

View File

@ -63,17 +63,17 @@ static int _calc_pvr_depth_test() {
case GL_NEVER:
return PVR_DEPTHCMP_NEVER;
case GL_LESS:
return PVR_DEPTHCMP_GEQUAL;
return PVR_DEPTHCMP_GREATER;
case GL_EQUAL:
return PVR_DEPTHCMP_EQUAL;
case GL_LEQUAL:
return PVR_DEPTHCMP_GREATER;
return PVR_DEPTHCMP_GEQUAL;
case GL_GREATER:
return PVR_DEPTHCMP_LEQUAL;
return PVR_DEPTHCMP_LESS;
case GL_NOTEQUAL:
return PVR_DEPTHCMP_NOTEQUAL;
case GL_GEQUAL:
return PVR_DEPTHCMP_LESS;
return PVR_DEPTHCMP_LEQUAL;
break;
case GL_ALWAYS:
default: