vkd3d-shader: Pass format to shader_addline.

Signed-off-by: Isabella Bosia <ibosia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Isabella Bosia 2020-09-21 11:50:18 +01:00 committed by Alexandre Julliard
parent da4449ac91
commit 3779177399
1 changed files with 1 additions and 1 deletions

View File

@ -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, " | ");