Commit 7e1ccdef authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

ddraw: Removed superflous NULL check (Coverity).

parent 8377e274
...@@ -3482,7 +3482,7 @@ static HRESULT WINAPI ddraw_surface7_BltFast(IDirectDrawSurface7 *iface, DWORD d ...@@ -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)
{ {
......
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