aboutsummaryrefslogtreecommitdiffstats
path: root/src/vulkan/util/vk_debug_report.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vulkan/util/vk_debug_report.c')
-rw-r--r--src/vulkan/util/vk_debug_report.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/util/vk_debug_report.c b/src/vulkan/util/vk_debug_report.c
index 22ae4a7d931..c4884b963e0 100644
--- a/src/vulkan/util/vk_debug_report.c
+++ b/src/vulkan/util/vk_debug_report.c
@@ -99,7 +99,7 @@ vk_debug_report(struct vk_debug_report_instance *instance,
const char *pMessage)
{
/* Allow NULL for convinience, return if no callbacks registered. */
- if (!instance || list_empty(&instance->callbacks))
+ if (!instance || list_is_empty(&instance->callbacks))
return;
pthread_mutex_lock(&instance->callbacks_mutex);