Christian Costa : ddraw: Improve error message.
Alexandre Julliard
julliard at winehq.org
Wed Dec 23 10:04:13 CST 2009
Module: wine
Branch: master
Commit: df9bddcd273ab5fa6aa1a998dcbf400672587324
URL: http://source.winehq.org/git/wine.git/?a=commit;h=df9bddcd273ab5fa6aa1a998dcbf400672587324
Author: Christian Costa <titan.costa at wanadoo.fr>
Date: Wed Dec 23 08:46:19 2009 +0100
ddraw: Improve error message.
---
dlls/ddraw/executebuffer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ddraw/executebuffer.c b/dlls/ddraw/executebuffer.c
index 996c558..2f42688 100644
--- a/dlls/ddraw/executebuffer.c
+++ b/dlls/ddraw/executebuffer.c
@@ -250,7 +250,7 @@ IDirect3DExecuteBufferImpl_Execute(IDirect3DExecuteBufferImpl *This,
TRACE("(%08x,%08x)\n", ci->u1.dlstLightStateType, ci->u2.dwArg[0]);
if (!ci->u1.dlstLightStateType || (ci->u1.dlstLightStateType > D3DLIGHTSTATE_COLORVERTEX))
- ERR("Unexpected Light State Type\n");
+ ERR("Unexpected Light State Type %d\n", ci->u1.dlstLightStateType);
else if (ci->u1.dlstLightStateType == D3DLIGHTSTATE_MATERIAL /* 1 */) {
DWORD matHandle = ci->u2.dwArg[0];
More information about the wine-cvs
mailing list