From 843b169fa360ce0f005350121998cdf462ba55e5 Mon Sep 17 00:00:00 2001 From: Lubos Date: Sun, 2 Jul 2023 15:05:29 +0200 Subject: [PATCH] OpenXR - Digimon Adventure rendering fixed --- GPU/GLES/ShaderManagerGLES.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/GPU/GLES/ShaderManagerGLES.cpp b/GPU/GLES/ShaderManagerGLES.cpp index 5031608da446..83d758b03f49 100644 --- a/GPU/GLES/ShaderManagerGLES.cpp +++ b/GPU/GLES/ShaderManagerGLES.cpp @@ -356,6 +356,8 @@ static inline bool GuessVRDrawingHUD(bool is2D, bool flatScreen) { else if (gstate.isClearModeDepthMask()) hud = false; //HUD texture has to contain alpha channel else if (!gstate.isTextureAlphaUsed()) hud = false; + //HUD texture cannot be in 5551 format + else if (gstate.getTextureFormat() == GETextureFormat::GE_TFMT_5551) hud = false; //HUD texture cannot be in CLUT16 format else if (gstate.getTextureFormat() == GETextureFormat::GE_TFMT_CLUT16) hud = false; //HUD texture cannot be in CLUT32 format