Commit ca8b05e9 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Use wined3d_get_line() in shader_spirv_compile_shader().

parent 0fb10209
......@@ -279,11 +279,12 @@ static VkShaderModule shader_spirv_compile_shader(struct wined3d_context_vk *con
ret = vkd3d_shader_compile(&info, &spirv, &messages);
if (messages && *messages && FIXME_ON(d3d_shader))
{
const char *ptr = messages;
const char *line;
const char *ptr, *end, *line;
FIXME("Shader log:\n");
while ((line = get_line(&ptr)))
ptr = messages;
end = ptr + strlen(ptr);
while ((line = wined3d_get_line(&ptr, end)))
{
FIXME(" %.*s", (int)(ptr - line), line);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment