From 74c3281bef7c6ef11a969dd13854263fabdbe22c Mon Sep 17 00:00:00 2001 From: Jason Edmeades Date: Fri, 19 Sep 2003 00:07:16 +0000 Subject: [PATCH] Simple fix to handle the more common case of actually having a GL context! --- dlls/d3d8/directx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/d3d8/directx.c b/dlls/d3d8/directx.c index 56253d160aa..d6434c269d1 100644 --- a/dlls/d3d8/directx.c +++ b/dlls/d3d8/directx.c @@ -431,6 +431,8 @@ HRESULT WINAPI IDirect3D8Impl_GetDeviceCaps(LPDIRECT3D8 iface, UINT Adapter, D gotContext = TRUE; created = TRUE; } + } else { + gotContext = TRUE; } if (gotContext == FALSE) {