[PATCH 2/2] wined3d: Escape shader comments.
Henri Verbeet
hverbeet at codeweavers.com
Mon Feb 22 14:37:20 CST 2010
---
dlls/wined3d/shader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/shader.c b/dlls/wined3d/shader.c
index a3b4ddc..06c49ab 100644
--- a/dlls/wined3d/shader.c
+++ b/dlls/wined3d/shader.c
@@ -1231,7 +1231,7 @@ static void shader_trace_init(const struct wined3d_shader_frontend *fe, void *fe
fe->shader_read_comment(&ptr, &comment, &comment_size);
if (comment)
{
- TRACE("//%s\n", comment);
+ TRACE("// %s\n", debugstr_an(comment, comment_size));
continue;
}
--
1.6.4.4
More information about the wine-patches
mailing list