Isabella Bosia : vkd3d-shader: Pass format to shader_addline.
Alexandre Julliard
julliard at winehq.org
Mon Sep 21 15:12:02 CDT 2020
Module: vkd3d
Branch: master
Commit: 37791773997edd18f71a548832c192a420a0aa5a
URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=37791773997edd18f71a548832c192a420a0aa5a
Author: Isabella Bosia <ibosia at codeweavers.com>
Date: Mon Sep 21 11:50:18 2020 +0100
vkd3d-shader: Pass format to shader_addline.
Signed-off-by: Isabella Bosia <ibosia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
libs/vkd3d-shader/trace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/vkd3d-shader/trace.c b/libs/vkd3d-shader/trace.c
index 587c85c..d7495ee 100644
--- a/libs/vkd3d-shader/trace.c
+++ b/libs/vkd3d-shader/trace.c
@@ -355,7 +355,7 @@ static void shader_dump_global_flags(struct vkd3d_string_buffer *buffer, DWORD g
{
if (global_flags & global_flag_info[i].flag)
{
- shader_addline(buffer, global_flag_info[i].name);
+ shader_addline(buffer, "%s", global_flag_info[i].name);
global_flags &= ~global_flag_info[i].flag;
if (global_flags)
shader_addline(buffer, " | ");
More information about the wine-cvs
mailing list