From 992d4c5147c38601351bd03d13720efa5c1468bc Mon Sep 17 00:00:00 2001 From: Lubos Date: Sat, 17 Dec 2022 17:52:04 +0100 Subject: [PATCH] OpenXR - Final Fantasy rendering fixed --- GPU/GLES/ShaderManagerGLES.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/ShaderManagerGLES.cpp b/GPU/GLES/ShaderManagerGLES.cpp index 8247acd425..5ebb7bf8a8 100644 --- a/GPU/GLES/ShaderManagerGLES.cpp +++ b/GPU/GLES/ShaderManagerGLES.cpp @@ -341,7 +341,7 @@ static inline bool GuessVRDrawingHUD(bool is2D, bool flatScreen) { //HUD must have full vertex alpha else if (!gstate_c.vertexFullAlpha && gstate.getDepthTestFunction() == GE_COMP_NEVER) hud = false; //HUD cannot render FB screenshot - else if (gstate_c.curTextureHeight % 136 <= 1) hud = false; + else if (gstate_c.curTextureHeight % 68 <= 1) hud = false; //HUD cannot be rendered with add function else if (gstate.getTextureFunction() == GETexFunc::GE_TEXFUNC_ADD) hud = false; //HUD cannot be rendered with replace function