=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: wined3d: Print "state_id" for undefined states.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Apr 4 10:37:02 CDT 2016
Module: wine
Branch: master
Commit: a5b810b0b3489e845eb3ab0ed951ed075444df0b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a5b810b0b3489e845eb3ab0ed951ed075444df0b
Author: Józef Kucia <jkucia at 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 at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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)
More information about the wine-cvs
mailing list