Skip to content

Commit

Permalink
Disable HiDpi support when rendering resolution <= 720p.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Jan 14, 2024
1 parent e23369b commit a6d7467
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Plugins/CaptionMod/DpiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ class CDpiManager : public IDpiManager
if (g_iEngineType == ENGINE_GOLDSRC_HL25)
m_bIsHighDpiSupported = false;

if (g_iVideoHeight < g_iProportionalBaseHeightHD)
m_bIsHighDpiSupported = false;;

if (IsHighDpiSupportEnabled())
{
char temp[1024];
Expand Down

0 comments on commit a6d7467

Please sign in to comment.