diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index 719f51a4e6..36c32842a5 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -227,21 +227,6 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message, switch (message) { - case WM_SIZE: - /* Do not send resize message if we minimize. */ - if (wparam != SIZE_MAXHIDE && wparam != SIZE_MINIMIZED) - { - g_resize_width = LOWORD(lparam); - g_resize_height = HIWORD(lparam); - g_resized = true; - -#if 0 - if (g_resize_width && g_resize_height) - if (gfx_ctx_set_resize(g_resize_width, g_resize_height)) - d3d_restore(curD3D); -#endif - } - return 0; case WM_SYSCOMMAND: case WM_CHAR: case WM_KEYDOWN: