Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Jan 12, 2024
1 parent 4a450db commit dc10ccc
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 @@ -106,6 +106,9 @@ class CDpiManager : public IDpiManager
if (gEngfuncs.CheckParm("-no_high_dpi", NULL))
m_bIsHighDpiSupported = false;

if (gEngfuncs.CheckParm("-high_dpi", NULL))
m_bIsHighDpiSupported = true;

if (g_iEngineType == ENGINE_GOLDSRC_HL25)
m_bIsHighDpiSupported = false;

Expand Down

0 comments on commit dc10ccc

Please sign in to comment.