mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 12:13:50 +01:00
Just some random driveby code cleanup
This commit is contained in:
1 parent
4e77c63b97
commit
96506544b7
8 files changed
+23
-43
No files matched your search
@@ -285,11 +285,8 @@ namespace MainWindow
|
||||
System_PostUIMessage("window minimized", "false");
|
||||
}
|
||||
|
||||
int width = 0, height = 0;
|
||||
RECT rc;
|
||||
GetClientRect(hwndMain, &rc);
|
||||
width = rc.right - rc.left;
|
||||
height = rc.bottom - rc.top;
|
||||
int width, height;
|
||||
W32Util::GetWindowRes(hwndMain, &width, &height);
|
||||
|
||||
// Moves the internal display window to match the inner size of the main window.
|
||||
MoveWindow(hwndDisplay, 0, 0, width, height, TRUE);
|
||||
|
||||
Reference in new issue
Block a user