forked from mirrors/principia
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:
parent
b46ecd8e05
commit
ba0c5e183b
1 changed files with 1 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue