mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
OpenXR - Texts review
This commit is contained in:
@@ -412,7 +412,7 @@ void LinkedShader::UpdateUniforms(const ShaderID &vsid, bool useBufferedRenderin
|
||||
// Set HUD mode
|
||||
if (gstate_c.Use(GPU_USE_VIRTUAL_REALITY)) {
|
||||
if (GuessVRDrawingHUD(is2D, flatScreen)) {
|
||||
float aspect = 480.0f / 272.0f * (g_Config.bAntiFlickeringFlow ? 0.5f : 1.0f);
|
||||
float aspect = 480.0f / 272.0f * (g_Config.bEnableImmersiveVR ? 0.5f : 1.0f);
|
||||
render_->SetUniformF1(&u_scaleX, g_Config.fHeadUpDisplayScale * aspect);
|
||||
render_->SetUniformF1(&u_scaleY, g_Config.fHeadUpDisplayScale);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user