diff --git a/game/system/hid/display_manager.cpp b/game/system/hid/display_manager.cpp index 3c5b812b84..20ecb80dd4 100644 --- a/game/system/hid/display_manager.cpp +++ b/game/system/hid/display_manager.cpp @@ -7,8 +7,10 @@ DisplayManager::DisplayManager(SDL_Window* window) : m_window(window), m_selected_fullscreen_display_id(0) { - // SDL hint to disable OS level forced scaling and allow native resolution at non 100% scales - SDL_SetHint("SDL_WINDOWS_DPI_SCALING", "true"); +#ifdef _WIN32 + // Windows hint to disable OS level forced scaling and allow native resolution at non 100% scales + SetProcessDPIAware(); +#endif update_curr_display_info(); update_video_modes(); // Load display settings from a file