[PATCH 5/5] wined3d: cfg can never be NULL in wined3d_check_pixel_format_depth().
Henri Verbeet
hverbeet at codeweavers.com
Tue Jun 7 04:06:28 CDT 2011
---
dlls/wined3d/directx.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 4b77d5e..02cb33c 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2974,9 +2974,6 @@ static BOOL wined3d_check_pixel_format_depth(const struct wined3d_gl_info *gl_in
BYTE depthSize, stencilSize;
BOOL lockable = FALSE;
- if(!cfg)
- return FALSE;
-
if (!getDepthStencilBits(format, &depthSize, &stencilSize))
{
ERR("Unable to check compatibility for format %s.\n", debug_d3dformat(format->id));
--
1.7.3.4
More information about the wine-patches
mailing list