mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-29 22:25:05 +00:00
Cleanups
This commit is contained in:
parent
ed6e35f7e3
commit
3d9f7117e4
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user