Roderick Colenbrander : wined3d: Add a WineD3D_ChoosePixelFormat line.

Alexandre Julliard julliard at winehq.org
Tue Jun 3 04:52:22 CDT 2008


Module: wine
Branch: master
Commit: 0ca7d443acf120f3787dfd994c18ea0a8c94ef66
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0ca7d443acf120f3787dfd994c18ea0a8c94ef66

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Mon Jun  2 20:39:51 2008 +0000

wined3d: Add a WineD3D_ChoosePixelFormat line.

---

 dlls/wined3d/context.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 0811f12..5eb1f6d 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;




More information about the wine-cvs mailing list