[6/6] wined3d: Add err for failure case in CheckDepthStencilMatch.
Jan Zerebecki
jan.wine at zerebecki.de
Thu Nov 23 12:59:30 CST 2006
If this patch is rejected from inclusion, please tell me why, as
I would have to ask anyway.
From: Jan Zerebecki <jan.wine at zerebecki.de>
Changelog:
wined3d: Add err for failure case in CheckDepthStencilMatch.
Remove NULL asignment that is not needed.
---
dlls/wined3d/directx.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 6257c85..46965d1 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1526,9 +1526,8 @@ static HRESULT WINAPI IWineD3DImpl_Check
}
}
XFree(cfgs);
- cfgs = NULL;
} 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;
}
More information about the wine-patches
mailing list