1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-02 01:24:11 +01:00

[hud] Initialize scale to 1

See #1843.
This commit is contained in:
Philip Rebohle 2020-12-06 00:48:48 +01:00
parent 854ae7b862
commit 74abb5bb80
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -10,7 +10,7 @@ namespace dxvk::hud {
HudRenderer::HudRenderer(const Rc<DxvkDevice>& 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)),