wined3d: The destination width and height are always valid in surface_cpu_blt().
Since they have been validated by the caller. Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d6557e8129
commit
3e36857557
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue