[PATCH] wined3d: Display state in state_undefined

Christian Costa titan.costa at wanadoo.fr
Tue Feb 16 04:49:57 CST 2010


---

 dlls/wined3d/state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 5efe069..fcd836d 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -57,7 +57,7 @@ static void state_nogl(DWORD state, IWineD3DStateBlockImpl *stateblock, struct w
 
 static void state_undefined(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context)
 {
-    ERR("Undefined state.\n");
+    ERR("Undefined state %d\n", state);
 }
 
 static void state_fillmode(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context)


More information about the wine-patches mailing list