mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
Merge pull request #16609 from lvonasek/hotfix-openxr-hud
OpenXR - Rendering fixes for a few games
This commit is contained in:
1 file changed
+3
-1
@@ -341,7 +341,9 @@ 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
|
||||
else if (gstate.getTextureFunction() == GETexFunc::GE_TEXFUNC_REPLACE) hud = false;
|
||||
//HUD cannot be rendered with full clear color mask
|
||||
|
||||
Reference in new issue
Block a user