Fix depth funcs (for now)
This commit is contained in:
parent
e21b7a0b9c
commit
5c980d2183
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user