From d8b4d653f1864da895b7e453af94148643455e77 Mon Sep 17 00:00:00 2001 From: Peter Tissen Date: Thu, 23 Jan 2014 20:30:35 +0100 Subject: [PATCH] revert test code --- Windows/WndMainWindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Windows/WndMainWindow.cpp b/Windows/WndMainWindow.cpp index 2a0b5c0d42..0f6a5915e3 100644 --- a/Windows/WndMainWindow.cpp +++ b/Windows/WndMainWindow.cpp @@ -328,8 +328,7 @@ namespace MainWindow const int y = 0; const int cx = ::GetSystemMetrics(SM_CXSCREEN); const int cy = ::GetSystemMetrics(SM_CYSCREEN); - ERROR_LOG(CPU,"xres: %d yres: %d",cx,cy); - ::SetWindowPos(hWnd, HWND_TOPMOST, -10, -10, cx, cy, SWP_FRAMECHANGED); + ::SetWindowPos(hWnd, HWND_TOPMOST, x, y, cx, cy, SWP_FRAMECHANGED); // Set full screen indicator. g_Config.bFullScreen = true; @@ -747,7 +746,6 @@ namespace MainWindow } BOOL Show(HINSTANCE hInstance, int nCmdShow) { - SetProcessDPIAware(); hInst = hInstance; // Store instance handle in our global variable. RECT rc = DetermineWindowRectangle();