Fix crash when launching game with non-default GUI scale in config
See: #459
This commit is contained in:
@@ -677,7 +677,7 @@ LRESULT CALLBACK WndProcGdi(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||
}
|
||||
|
||||
case WM_DPICHANGED: {
|
||||
auto did_adjust = AdjustGUIZoom(true);
|
||||
auto did_adjust = AdjustGUIZoom(AGZM_AUTOMATIC);
|
||||
|
||||
/* Resize the window to match the new DPI setting. */
|
||||
RECT *prcNewWindow = (RECT *)lParam;
|
||||
|
||||
Reference in New Issue
Block a user