This commit is contained in:
twinaphex 2016-01-08 05:46:14 +01:00
parent ed6e35f7e3
commit 3d9f7117e4

View File

@ -227,21 +227,6 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
switch (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_SYSCOMMAND:
case WM_CHAR: case WM_CHAR:
case WM_KEYDOWN: case WM_KEYDOWN: