mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
OpenXR - Compile fix
This commit is contained in:
1 parent
c4dbd6d045
commit
209b5b3079
1 file changed
+1
-1
@@ -250,7 +250,7 @@ void PreGLCommand(const void* data) {
|
||||
} else if (vrCompat[VR_COMPAT_SKYPLANE] && vrCompat[VR_COMPAT_GEOMETRY]) {
|
||||
const auto* glrData = (const GLRRenderData*)data;
|
||||
if (glrData->cmd == GLRRenderCommand::BINDPROGRAM) {
|
||||
vrCompat[VR_USE_CLIP] = glrData->program.program->use_clip_distance0;
|
||||
vrCompat[VR_USE_CLIP] = glrData->program.program->use_clip_distance[0];
|
||||
} else if ((glrData->cmd == GLRRenderCommand::DRAW_INDEXED) && IsSkyPlane(glrData)) {
|
||||
glColorMask(false, false, false, false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user