[PATCH] wined3d: Display state in state_undefined (try 2)
Christian Costa
titan.costa at wanadoo.fr
Tue Feb 16 05:29:51 CST 2010
Use debug_d3dstate this time.
---
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..80c68e9 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 %s\n", debug_d3dstate(state));
}
static void state_fillmode(DWORD state, IWineD3DStateBlockImpl *stateblock, struct wined3d_context *context)
More information about the wine-patches
mailing list