Henri Verbeet : d3d10: Improve a couple of debug messages.
Alexandre Julliard
julliard at winehq.org
Tue Sep 4 12:38:37 CDT 2012
Module: wine
Branch: master
Commit: 99d1c9ba82dc612535beb8a18c97b8c6aec7864f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=99d1c9ba82dc612535beb8a18c97b8c6aec7864f
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Sep 4 13:52:32 2012 +0200
d3d10: Improve a couple of debug messages.
---
dlls/d3d10/effect.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/d3d10/effect.c b/dlls/d3d10/effect.c
index 5b82777..6d1337b 100644
--- a/dlls/d3d10/effect.c
+++ b/dlls/d3d10/effect.c
@@ -1191,20 +1191,20 @@ static BOOL parse_fx10_state_group(const char **ptr, const char *data,
if (property_info->container_type != container_type)
{
- ERR("FAIL1\n");
+ ERR("Invalid container type %#x for property %#x.\n", container_type, id);
return FALSE;
}
if (idx >= property_info->count)
{
- ERR("FAIL2\n");
+ ERR("Invalid index %#x for property %#x.\n", idx, id);
return FALSE;
}
if (!read_value_list(data + value_offset, property_info->type, idx,
property_info->size, (char *)container + property_info->offset))
{
- ERR("FAIL3\n");
+ ERR("Failed to read values for property %#x.\n", id);
return FALSE;
}
}
More information about the wine-cvs
mailing list