=?UTF-8?Q?Rico=20Sch=C3=BCller=20?=: d3dx9: Improve traces in set_number().
Alexandre Julliard
julliard at winehq.org
Wed Aug 29 15:01:38 CDT 2012
Module: wine
Branch: master
Commit: bfec15534593cc4065a52cabd1d6f6a289dc42c4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bfec15534593cc4065a52cabd1d6f6a289dc42c4
Author: Rico Schüller <kgbricola at web.de>
Date: Tue Aug 28 22:03:55 2012 +0200
d3dx9: Improve traces in set_number().
---
dlls/d3dx9_36/effect.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dx9_36/effect.c b/dlls/d3dx9_36/effect.c
index 7463742..162cbf8 100644
--- a/dlls/d3dx9_36/effect.c
+++ b/dlls/d3dx9_36/effect.c
@@ -908,7 +908,7 @@ static inline BOOL get_bool(LPCVOID data)
static void set_number(LPVOID outdata, D3DXPARAMETER_TYPE outtype, LPCVOID indata, D3DXPARAMETER_TYPE intype)
{
- TRACE("Changing from type %i to type %i\n", intype, outtype);
+ TRACE("Changing from type %s to type %s\n", debug_d3dxparameter_type(intype), debug_d3dxparameter_type(outtype));
switch (outtype)
{
@@ -925,7 +925,7 @@ static void set_number(LPVOID outdata, D3DXPARAMETER_TYPE outtype, LPCVOID indat
break;
default:
- FIXME("Error converting to type %i\n", outtype);
+ FIXME("Unhandled type %s. This should not happen!\n", debug_d3dxparameter_type(outtype));
*(INT *)outdata = 0;
break;
}
More information about the wine-cvs
mailing list