Józef Kucia : wined3d: Print "state_id" for undefined states.
Module: wine Branch: master Commit: a5b810b0b3489e845eb3ab0ed951ed075444df0b URL: http://source.winehq.org/git/wine.git/?a=commit;h=a5b810b0b3489e845eb3ab0ed9... Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Mon Apr 4 11:26:29 2016 +0200 wined3d: Print "state_id" for undefined states. Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/wined3d/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 937df15..cacb401 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -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)
participants (1)
-
Alexandre Julliard