mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 14:23:06 +00:00
(D3D) Buildfix
This commit is contained in:
parent
47496ff0c3
commit
b3662e2f27
@ -48,6 +48,8 @@ static bool widescreen_mode = false;
|
||||
static d3d_video_t *curD3D = NULL;
|
||||
static bool d3d_quit = false;
|
||||
static void *dinput;
|
||||
static unsigned g_d3d_resize_width;
|
||||
static unsigned g_d3d_resize_height;
|
||||
static bool g_d3d_resized;
|
||||
|
||||
extern bool d3d_restore(d3d_video_t *data);
|
||||
@ -115,8 +117,8 @@ LRESULT CALLBACK WindowProc(HWND hwnd, UINT message,
|
||||
/* 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_d3d_resize_width = LOWORD(lparam);
|
||||
g_d3d_resize_height = HIWORD(lparam);
|
||||
g_d3d_resized = true;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user