(D3D) Buildfixes

This commit is contained in:
twinaphex 2016-01-07 00:45:09 +01:00
parent 3b34d6b6f1
commit 28b615e62c
2 changed files with 1 additions and 2 deletions

View File

@ -230,7 +230,6 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
g_resize_width = LOWORD(lparam);
g_resize_height = HIWORD(lparam);
g_resized = true;
*quit = true;
if (g_resize_width && g_resize_height)
gfx_ctx_set_resize(g_resize_width, g_resize_height);

View File

@ -447,7 +447,7 @@ static void d3d_set_nonblock_state(void *data, bool state)
gfx_ctx_swap_interval(state ? 0 : 1);
#ifndef _XBOX
d3d_restore();
d3d_restore(d3d);
#endif
}