mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 08:53:38 +00:00
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 a new issue