ddraw: Warning message about an invalid structure size will now print the structure's size.
This commit is contained in:
parent
bc59705aca
commit
ed1788bad0
|
@ -863,7 +863,7 @@ static HRESULT WINAPI ddraw_surface7_Lock(IDirectDrawSurface7 *iface,
|
|||
if(DDSD->dwSize != sizeof(DDSURFACEDESC) &&
|
||||
DDSD->dwSize != sizeof(DDSURFACEDESC2))
|
||||
{
|
||||
WARN("Invalid structure size %d, returning DDERR_INVALIDPARAMS\n", DDERR_INVALIDPARAMS);
|
||||
WARN("Invalid structure size %d, returning DDERR_INVALIDPARAMS\n", DDSD->dwSize);
|
||||
LeaveCriticalSection(&ddraw_cs);
|
||||
return DDERR_INVALIDPARAMS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue