Commit 9c58bce1 authored by Jan Zerebecki's avatar Jan Zerebecki Committed by Alexandre Julliard

wined3d: Add err for failure case in CheckDepthStencilMatch.

parent ee44a199
...@@ -1510,9 +1510,8 @@ static HRESULT WINAPI IWineD3DImpl_CheckDepthStencilMatch(IWineD3D *iface, UINT ...@@ -1510,9 +1510,8 @@ static HRESULT WINAPI IWineD3DImpl_CheckDepthStencilMatch(IWineD3D *iface, UINT
} }
} }
XFree(cfgs); XFree(cfgs);
cfgs = NULL;
} else { } else {
/* If there's a current context then we cannot create a fake one so pass everything */ ERR_(d3d_caps)("returning WINED3D_OK even so CreateFakeGLContext or glXGetFBConfigs failed\n");
hr = WINED3D_OK; hr = WINED3D_OK;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment