ddraw: Removed superflous NULL check (Coverity).
This commit is contained in:
parent
8377e274a2
commit
7e1ccdef71
@ -3482,7 +3482,7 @@ static HRESULT WINAPI ddraw_surface7_BltFast(IDirectDrawSurface7 *iface, DWORD d
|
|||||||
|
|
||||||
EnterCriticalSection(&ddraw_cs);
|
EnterCriticalSection(&ddraw_cs);
|
||||||
hr = wined3d_surface_bltfast(This->wined3d_surface, dstx, dsty,
|
hr = wined3d_surface_bltfast(This->wined3d_surface, dstx, dsty,
|
||||||
src ? src->wined3d_surface : NULL, rsrc, trans);
|
src->wined3d_surface, rsrc, trans);
|
||||||
LeaveCriticalSection(&ddraw_cs);
|
LeaveCriticalSection(&ddraw_cs);
|
||||||
switch(hr)
|
switch(hr)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user