OpenXR - Fix postprocess effect in 3rd birthday EU variant

This commit is contained in:
Lubos committed 2023-01-05 22:38:50 +01:00
1 parent 4aed933a9d
commit cd8d28cc5a
1 file changed
+4
+4
View File
@@ -336,6 +336,10 @@ 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 CLUT16 format
else if (gstate.getTextureFormat() == GETextureFormat::GE_TFMT_CLUT16) hud = false;
//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;
//HUD must have full vertex alpha