Commit a5b810b0 authored by Józef Kucia's avatar Józef Kucia Committed by Alexandre Julliard

wined3d: Print "state_id" for undefined states.

parent ab3aaee6
...@@ -42,7 +42,7 @@ WINE_DECLARE_DEBUG_CHANNEL(d3d_shader); ...@@ -42,7 +42,7 @@ WINE_DECLARE_DEBUG_CHANNEL(d3d_shader);
static void state_undefined(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id) static void state_undefined(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id)
{ {
ERR("Undefined state.\n"); ERR("Undefined state %s (%#x).\n", debug_d3dstate(state_id), state_id);
} }
void state_nop(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id) void state_nop(struct wined3d_context *context, const struct wined3d_state *state, DWORD state_id)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment