DDraw: Add a TRACE to GetPixelFormat
Stefan Dösinger
stefan at codeweavers.com
Thu Dec 14 13:49:26 CST 2006
Sounds like a good idea, doesn't it ? :-)
-------------- next part --------------
From 1b02f44326e8d4a762426e2540e2a4f3d4fefdb3 Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan at codeweavers.com>
Date: Thu, 14 Dec 2006 20:24:08 +0100
Subject: [PATCH] DDraw: Add a trace to GetColorKey
---
dlls/ddraw/surface.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/surface.c b/dlls/ddraw/surface.c
index 125593a..cb9ca9a 100644
--- a/dlls/ddraw/surface.c
+++ b/dlls/ddraw/surface.c
@@ -1293,8 +1293,8 @@ IDirectDrawSurfaceImpl_GetColorKey(IDire
/* There is a DDERR_NOCOLORKEY error, but how do we know if a color key
* isn't there? That's like saying that an int isn't there. (Which MS
* has done in other docs.) */
-
ICOM_THIS_FROM(IDirectDrawSurfaceImpl, IDirectDrawSurface7, iface);
+ TRACE("(%p)->(%08x,%p)\n", This, Flags, CKey);
if(!CKey)
return DDERR_INVALIDPARAMS;
--
1.4.2.4
More information about the wine-patches
mailing list