OpenXR - Final Fantasy rendering fixed

This commit is contained in:
Lubos committed 2022-12-17 17:52:04 +01:00
1 parent 3de2ba1e9f
commit 992d4c5147
1 file changed
+1 -1
+1 -1
View File
@@ -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