OpenXR - Add a TODO for follow-up PR

This commit is contained in:
Lubos 2022-11-25 09:31:44 +01:00
parent 08432dd4e1
commit 3aae47c331

View file

@ -390,7 +390,7 @@ void LinkedShader::UpdateUniforms(u32 vertType, const ShaderID &vsid, bool useBu
gstate.isAlphaBlendEnabled() && //2D content has to be blended
!gstate.isLightingEnabled() && //2D content cannot be rendered with lights on
!gstate.isFogEnabled() && //2D content cannot be rendered with fog on
!gstate.isDepthWriteEnabled(); //This breaks minimap in GTA but works elsewhere
!gstate.isDepthWriteEnabled(); //TODO:this needs to be improved! (GTA-LC, Tekken 6, Sonic Rivals)
if (hud) {
render_->SetUniformF1(&u_scaleX, g_Config.fHeadUpDidplayScale * 480.0f / 272.0f);
render_->SetUniformF1(&u_scaleY, g_Config.fHeadUpDidplayScale);