From 74abb5bb80c94e1a7ac5384a8f6a7d74396cecf2 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Sun, 6 Dec 2020 00:48:48 +0100 Subject: [PATCH] [hud] Initialize scale to 1 See #1843. --- src/dxvk/hud/dxvk_hud_renderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/hud/dxvk_hud_renderer.cpp b/src/dxvk/hud/dxvk_hud_renderer.cpp index 2bb5ff87..1de3607b 100644 --- a/src/dxvk/hud/dxvk_hud_renderer.cpp +++ b/src/dxvk/hud/dxvk_hud_renderer.cpp @@ -10,7 +10,7 @@ namespace dxvk::hud { HudRenderer::HudRenderer(const Rc& device) : m_mode (Mode::RenderNone), - m_scale (0.0f), + m_scale (1.0f), m_surfaceSize { 0, 0 }, m_textShaders (createTextShaders(device)), m_lineShaders (createLineShaders(device)),