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:
Zebediah Figura 2022-01-06 17:27:21 -06:00 committed by Alexandre Julliard
parent 51e5995d47
commit 73ee53813c
1 changed files with 4 additions and 0 deletions

View File

@ -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))