From 0ca7d443acf120f3787dfd994c18ea0a8c94ef66 Mon Sep 17 00:00:00 2001 From: Roderick Colenbrander Date: Mon, 2 Jun 2008 20:39:51 +0000 Subject: [PATCH] wined3d: Add a WineD3D_ChoosePixelFormat line. --- dlls/wined3d/context.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 0811f122b6c..5eb1f6df064 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -121,6 +121,9 @@ static int WineD3D_ChoosePixelFormat(IWineD3DDeviceImpl *This, HDC hdc, WINED3DF int nCfgs = This->adapter->nCfgs; WineD3D_PixelFormat *cfgs = This->adapter->cfgs; + TRACE("ColorFormat=%s, DepthStencilFormat=%s, auxBuffers=%d, numSamples=%d, pbuffer=%d, findCompatible=%d\n", + debug_d3dformat(ColorFormat), debug_d3dformat(DepthStencilFormat), auxBuffers, numSamples, pbuffer, findCompatible); + if(!getColorBits(ColorFormat, &redBits, &greenBits, &blueBits, &alphaBits, &colorBits)) { ERR("Unable to get color bits for format %s (%#x)!\n", debug_d3dformat(ColorFormat), ColorFormat); return 0;