From 28b615e62cccb74b1e53c2a8ad28942ff0f8239f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 7 Jan 2016 00:45:09 +0100 Subject: [PATCH] (D3D) Buildfixes --- gfx/common/win32_common.cpp | 1 - gfx/d3d/d3d.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index 2b79849616..3203d5d1de 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -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); diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 766ed7306b..869dad4473 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -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 }