[PATCH 2/5] wined3d: Avoid duplicated code in wined3d_surface_blt.
Stefan Dösinger
stefan at codeweavers.com
Thu Oct 3 17:03:18 CDT 2013
---
dlls/wined3d/surface.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 1f81914..1f0fb94 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -6606,7 +6606,7 @@ HRESULT CDECL wined3d_surface_blt(struct wined3d_surface *dst_surface, const REC
if (dst_surface->flags & SFLAG_CONVERTED)
{
WARN_(d3d_perf)("Converted surface, using CPU blit.\n");
- return surface_cpu_blt(dst_surface, &dst_rect, src_surface, &src_rect, flags, fx, filter);
+ goto cpu;
}
if (flags & ~simple_blit)
--
1.8.1.5
More information about the wine-patches
mailing list