Commit 3e368575 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: The destination width and height are always valid in surface_cpu_blt().

Since they have been validated by the caller. Signed-off-by: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent d6557e81
......@@ -2945,9 +2945,6 @@ static HRESULT surface_cpu_blt(struct wined3d_texture *dst_texture, unsigned int
{
int sx, xinc, sy, yinc;
if (!dst_width || !dst_height) /* Hmm... stupid program? */
goto release;
if (filter != WINED3D_TEXF_NONE && filter != WINED3D_TEXF_POINT
&& (src_width != dst_width || src_height != dst_height))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment