From bff0d735e229dd36f9279d2e389b7b560875182c Mon Sep 17 00:00:00 2001 From: Lubos Date: Sun, 5 Feb 2023 08:38:43 +0100 Subject: [PATCH] OpenXR - Fix HUD in Monster Hunter 3rd --- 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 9dabc96442..c7d4d1a7f6 100644 --- a/GPU/GLES/ShaderManagerGLES.cpp +++ b/GPU/GLES/ShaderManagerGLES.cpp @@ -358,7 +358,7 @@ static inline bool GuessVRDrawingHUD(bool is2D, bool flatScreen) { //HUD texture cannot be in CLUT32 format else if (gstate.getTextureFormat() == GETextureFormat::GE_TFMT_CLUT32) hud = false; //HUD cannot have full texture alpha - else if (gstate_c.textureFullAlpha) hud = false; + else if (gstate_c.textureFullAlpha && gstate.getTextureFormat() != GETextureFormat::GE_TFMT_CLUT4) hud = false; //HUD must have full vertex alpha else if (!gstate_c.vertexFullAlpha && gstate.getDepthTestFunction() == GE_COMP_NEVER) hud = false; //HUD cannot render FB screenshot