wined3d: Avoid duplicated code in wined3d_surface_blt.

This commit is contained in:
Stefan Dösinger 2013-10-08 00:27:06 +02:00 committed by Alexandre Julliard
parent d31048f0ae
commit bff422f340
1 changed files with 2 additions and 2 deletions

View File

@ -6610,7 +6610,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)
@ -6687,7 +6687,7 @@ HRESULT CDECL wined3d_surface_blt(struct wined3d_surface *dst_surface, const REC
else if (convert)
TRACE("Not doing sysmem blit because of format conversion.\n");
else
return surface_cpu_blt(dst_surface, &dst_rect, src_surface, &src_rect, flags, fx, filter);
goto cpu;
}
if (flags & WINEDDBLT_COLORFILL)