Module: wine Branch: master Commit: ac5664c8790c72ecc7c38126ddd0b227d9d9d47b URL: http://source.winehq.org/git/wine.git/?a=commit;h=ac5664c8790c72ecc7c38126dd...
Author: Matteo Bruni mbruni@codeweavers.com Date: Fri Feb 14 15:53:11 2014 +0100
d3dx9: Trace DDS pixel format.
---
dlls/d3dx9_36/surface.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/d3dx9_36/surface.c b/dlls/d3dx9_36/surface.c index fbfff0f..48d129e 100644 --- a/dlls/d3dx9_36/surface.c +++ b/dlls/d3dx9_36/surface.c @@ -259,6 +259,11 @@ static D3DFORMAT dds_bump_to_d3dformat(const struct dds_pixel_format *pixel_form
static D3DFORMAT dds_pixel_format_to_d3dformat(const struct dds_pixel_format *pixel_format) { + TRACE("pixel_format: size %u, flags %#x, fourcc %#x, bpp %u.\n", pixel_format->size, + pixel_format->flags, pixel_format->fourcc, pixel_format->bpp); + TRACE("rmask %#x, gmask %#x, bmask %#x, amask %#x.\n", pixel_format->rmask, pixel_format->gmask, + pixel_format->bmask, pixel_format->amask); + if (pixel_format->flags & DDS_PF_FOURCC) return dds_fourcc_to_d3dformat(pixel_format->fourcc); if (pixel_format->flags & DDS_PF_RGB)