Felix Nawothnig : wined3d: Fix broken ERR() message.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Mar 30 06:20:34 CDT 2007


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

Author: Felix Nawothnig <flexo at holycrap.org>
Date:   Wed Mar 28 20:37:10 2007 +0200

wined3d: Fix broken ERR() message.

---

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

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 12ef928..0548198 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -1417,7 +1417,10 @@ static void state_patchsegments(DWORD state, IWineD3DStateBlockImpl *stateblock,
 
     TRACE("Stub\n");
     if (stateblock->renderState[WINED3DRS_PATCHSEGMENTS] != tmpvalue.d)
-        ERR("(WINED3DRS_PATCHSEGMENTS,%d) not yet implemented\n", tmpvalue.d);
+    {
+        tmpvalue.d = stateblock->renderState[WINED3DRS_PATCHSEGMENTS];
+        ERR("(WINED3DRS_PATCHSEGMENTS,%f) not yet implemented\n", tmpvalue.f);
+    }
 }
 
 static void state_positiondegree(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DContext *context) {




More information about the wine-cvs mailing list