From f5b92ecdee4e88bf3a3eb7d428f7e36e2ec5484b Mon Sep 17 00:00:00 2001 From: Kojin Date: Mon, 5 Oct 2020 19:33:28 -0400 Subject: [PATCH] gsdx-osd: fix crashing on d3d11 --- plugins/GSdx/Renderers/Common/GSOsdManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/Renderers/Common/GSOsdManager.cpp b/plugins/GSdx/Renderers/Common/GSOsdManager.cpp index cc04574ad1..73609ed0fb 100644 --- a/plugins/GSdx/Renderers/Common/GSOsdManager.cpp +++ b/plugins/GSdx/Renderers/Common/GSOsdManager.cpp @@ -57,7 +57,7 @@ void GSOsdManager::LoadSize() { /* This is not exact, I'm sure there's some convoluted way to determine these * from FreeType but they don't make it easy. */ m_atlas_w = m_size * 96; // random guess - m_atlas_h = m_size; // another random guess + m_atlas_h = m_size + 10; // another random guess } GSOsdManager::GSOsdManager() : m_atlas_h(0)