Try to set g_inited to true

This commit is contained in:
twinaphex 2016-01-07 07:18:52 +01:00
parent 8a124bb530
commit 186a9fe61b

View File

@ -255,6 +255,7 @@ LRESULT CALLBACK WndProcD3D(HWND hwnd, UINT message,
{ {
LPCREATESTRUCT p_cs = (LPCREATESTRUCT)lparam; LPCREATESTRUCT p_cs = (LPCREATESTRUCT)lparam;
curD3D = p_cs->lpCreateParams; curD3D = p_cs->lpCreateParams;
g_inited = true;
} }
return 0; return 0;
} }