mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 08:37:41 +00:00
N/A
This commit is contained in:
parent
8635d19b9b
commit
377c1f2661
@ -229,13 +229,18 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
|
||||
{
|
||||
case WM_SIZE:
|
||||
/* Do not send resize message if we minimize. */
|
||||
g_resize_width = LOWORD(lparam);
|
||||
g_resize_height = HIWORD(lparam);
|
||||
g_resized = true;
|
||||
if (wparam != SIZE_MAXHIDE && wparam != SIZE_MINIMIZED)
|
||||
{
|
||||
g_resize_width = LOWORD(lparam);
|
||||
g_resize_height = HIWORD(lparam);
|
||||
g_resized = true;
|
||||
|
||||
if (g_resize_width && g_resize_height)
|
||||
if (gfx_ctx_set_resize(g_resize_width, g_resize_height))
|
||||
d3d_restore(curD3D);
|
||||
#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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user