[PATCH] wined3d: remove superflous check (Coverity)
Marcus Meissner
marcus at jet.franken.de
Wed May 6 01:53:33 CDT 2015
is checked at begin of function
1295037 Logically dead code
---
dlls/wined3d/surface.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 6b5f771..359db9b 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -4291,9 +4291,6 @@ static BOOL ffp_blit_supported(const struct wined3d_gl_info *gl_info,
return FALSE;
}
case WINED3D_BLIT_OP_COLOR_BLIT:
- if (src_pool == WINED3D_POOL_SYSTEM_MEM || dst_pool == WINED3D_POOL_SYSTEM_MEM)
- return FALSE;
-
if (TRACE_ON(d3d_surface) && TRACE_ON(d3d))
{
TRACE("Checking support for fixup:\n");
--
1.8.4.5
More information about the wine-patches
mailing list