mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-06-13 05:57:29 -04:00
High DPI window fixes
This commit is contained in:
@@ -87,6 +87,8 @@ void Window::Init()
|
||||
SDL_EventState(SDL_SYSWMEVENT, SDL_ENABLE);
|
||||
SDL_AddEventWatch(Window_OnSDLEvent, s_window);
|
||||
|
||||
SetProcessDPIAware();
|
||||
|
||||
s_window = SDL_CreateWindow(title,
|
||||
SDL_WINDOWPOS_CENTERED,
|
||||
SDL_WINDOWPOS_CENTERED,
|
||||
|
||||
Reference in New Issue
Block a user