amstream: Trace some format fields in IDirectDrawMediaStream::SetFormat().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
51e5995d47
commit
73ee53813c
|
@ -549,6 +549,10 @@ static HRESULT WINAPI ddraw_IDirectDrawMediaStream_SetFormat(IDirectDrawMediaStr
|
|||
if (format->dwSize != sizeof(DDSURFACEDESC))
|
||||
return E_INVALIDARG;
|
||||
|
||||
TRACE("flags %#x, pixel format flags %#x, bit count %u, size %ux%u.\n",
|
||||
format->dwFlags, format->ddpfPixelFormat.dwFlags,
|
||||
format->ddpfPixelFormat.u1.dwRGBBitCount, format->dwWidth, format->dwHeight);
|
||||
|
||||
if (format->dwFlags & DDSD_PIXELFORMAT)
|
||||
{
|
||||
if (format->ddpfPixelFormat.dwSize != sizeof(DDPIXELFORMAT))
|
||||
|
|
Loading…
Reference in New Issue