Try to fix the Principia window resizing during load on Windows

GTK will force DPI awareness so there's no way to do anything else other than enable it before GTK does
This commit is contained in:
ROllerozxa 2026-02-16 00:16:02 +01:00
commit ba0c5e183b

View file

@ -142,9 +142,8 @@ int main(int argc, char **argv)
tms_storage_create_dirs();
#ifdef SDL_HINT_APP_NAME
SDL_SetHint(SDL_HINT_APP_NAME, "Principia");
#endif
SDL_SetHint(SDL_HINT_WINDOWS_DPI_AWARENESS, "permonitorv2");
redirect_log_output();