summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/zink/zink_framebuffer.h2
-rw-r--r--src/gallium/drivers/zink/zink_render_pass.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/zink/zink_framebuffer.h b/src/gallium/drivers/zink/zink_framebuffer.h
index 25a7bc9cd23..4e7e5cad41e 100644
--- a/src/gallium/drivers/zink/zink_framebuffer.h
+++ b/src/gallium/drivers/zink/zink_framebuffer.h
@@ -60,7 +60,7 @@ zink_framebuffer_reference(struct zink_screen *screen,
struct zink_framebuffer *old_dst = *dst;
if (pipe_reference_described(&old_dst->reference, &src->reference,
- (debug_reference_descriptor) debug_describe_zink_framebuffer))
+ (debug_reference_descriptor)debug_describe_zink_framebuffer))
zink_destroy_framebuffer(screen, old_dst);
*dst = src;
}
diff --git a/src/gallium/drivers/zink/zink_render_pass.h b/src/gallium/drivers/zink/zink_render_pass.h
index eee6c675b54..9ffb83b2486 100644
--- a/src/gallium/drivers/zink/zink_render_pass.h
+++ b/src/gallium/drivers/zink/zink_render_pass.h
@@ -66,7 +66,7 @@ zink_render_pass_reference(struct zink_screen *screen,
struct zink_render_pass *old_dst = *dst;
if (pipe_reference_described(&old_dst->reference, &src->reference,
- (debug_reference_descriptor) debug_describe_zink_render_pass))
+ (debug_reference_descriptor)debug_describe_zink_render_pass))
zink_destroy_render_pass(screen, old_dst);
*dst = src;
}