[5/8] WineD3D: Readd the strided data trace

Stefan Dösinger stefan at codeweavers.com
Wed Jan 3 17:09:47 CST 2007


I removed that call accidentally in one of my former patches, but I  
think it is still a good idea to trace the final strided sources used  
by drawprim
-------------- next part --------------
From 7ef2938020949a74f284f64d6c8dc9c39fccd59a Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Stefan_D=C3=B6singer?= <stefan at imac.local>
Date: Wed, 3 Jan 2007 18:16:59 +0100
Subject: [PATCH] WineD3D: Trace the strided data in drawprim

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

diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c
index 3287848..3d7a10a 100644
--- a/dlls/wined3d/drawprim.c
+++ b/dlls/wined3d/drawprim.c
@@ -1797,6 +1797,11 @@ void drawPrimitive(IWineD3DDevice *iface
     This->numDirtyEntries = 0; /* This makes the whole list clean */
     fixup = This->streamFixedUp;
 
+    if(TRACE_ON(d3d_draw)) {
+        TRACE("Found decoded vertex declaration from the state handlers:\n");
+        drawPrimitiveTraceDataLocations(&This->strided_streams);
+    }
+
     if (TRACE_ON(d3d_draw) && wined3d_settings.offscreen_rendering_mode == ORM_FBO) {
         check_fbo_status(iface);
     }
-- 
1.4.2.4



More information about the wine-patches mailing list