Skip to content

Commit

Permalink
OpenXR - Digimon Adventure rendering fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
lvonasek committed Jul 2, 2023
1 parent 42d4b5d commit 843b169
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GPU/GLES/ShaderManagerGLES.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 843b169

Please sign in to comment.