From 186a9fe61beab962184f21a091752d05d80db56c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 7 Jan 2016 07:18:52 +0100 Subject: [PATCH] Try to set g_inited to true --- gfx/common/win32_common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/common/win32_common.cpp b/gfx/common/win32_common.cpp index fd792e3b1f..3a4822b99c 100644 --- a/gfx/common/win32_common.cpp +++ b/gfx/common/win32_common.cpp @@ -255,6 +255,7 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message, { LPCREATESTRUCT p_cs = (LPCREATESTRUCT)lparam; curD3D = p_cs->lpCreateParams; + g_inited = true; } return 0; }