Fix bug causing the screen to go blank when resizing the window using scale factors on Windows.

This commit is contained in:
Henrik Rydgard committed 2014-02-10 16:22:16 +01:00
1 parent 984554fe7c
commit 8a2b50af64
2 files changed
+4 -4

No files matched your search

+4 -2
View File
@@ -242,8 +242,10 @@ namespace MainWindow
osm.Show(g->T(message), 2.0f);
}
UpdateScreenScale(width, height);
NativeMessageReceived("gpu resized", "");
if (!noWindowMovement) {
UpdateScreenScale(width, height);
NativeMessageReceived("gpu resized", "");
}
}
void SetWindowSize(int zoom) {