Skip to content

Commit

Permalink
OpenXR - Assasins Creed rendering fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
lvonasek committed Dec 2, 2022
1 parent 66cbe55 commit 769b1d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions GPU/GLES/ShaderManagerGLES.cpp
Expand Up @@ -374,6 +374,10 @@ static inline bool GuessVRDrawingHUD(bool is2D, bool flatScreen) {
else if (!gstate_c.vertexFullAlpha && gstate.getDepthTestFunction() == GE_COMP_NEVER) hud = false;
//HUD cannot render FB screenshot
else if (gstate_c.curTextureHeight == 272) 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
else if ((gstate.getClearModeColorMask() == 0xFFFFFF) && (gstate.getColorMask() == 0xFFFFFF)) hud = false;

return hud;
}
Expand Down

0 comments on commit 769b1d7

Please sign in to comment.