Jan Zerebecki : wined3d: Add err for failure case in
CheckDepthStencilMatch .
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Dec 5 04:50:58 CST 2006
Module: wine
Branch: master
Commit: 9c58bce158f21fd8211e561c05c5bf7b680ea71c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9c58bce158f21fd8211e561c05c5bf7b680ea71c
Author: Jan Zerebecki <jan.wine at zerebecki.de>
Date: Thu Nov 23 19:59:30 2006 +0100
wined3d: Add err for failure case in CheckDepthStencilMatch.
---
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 7d7782a..dd50ecf 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1510,9 +1510,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-cvs
mailing list