diff --git a/src/vkr_renderer.h b/src/vkr_renderer.h index 28ad5bd..4d45930 100644 --- a/src/vkr_renderer.h +++ b/src/vkr_renderer.h @@ -12,6 +12,7 @@ #include #include "os/os_misc.h" +#include "vrend_debug.h" #define VKR_RENDERER_THREAD_SYNC (1u << 0) #define VKR_RENDERER_MULTI_PROCESS (1u << 1) @@ -42,7 +43,7 @@ vkr_context_create(size_t debug_len, const char *debug_name); static inline int vkr_renderer_init(UNUSED uint32_t flags) { - fprintf(stderr, "Vulkan support was not enabled in virglrenderer\n"); + vrend_printf("Vulkan support was not enabled in virglrenderer\n"); return -1; }