wined3d: Print "state_id" for undefined states.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2016-04-04 11:26:29 +02:00 committed by Alexandre Julliard
parent ab3aaee6fd
commit a5b810b0b3
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{
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)