From f940b1665a7f17ad2ae7ae2e951d90d151482875 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tapani=20P=C3=A4lli?= Date: Tue, 12 Sep 2017 13:09:37 +0300 Subject: [PATCH] anv: fix build issues on release build MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: d083bc1c4b ("anv: wire up vk_errorf macro to do debug reporting") Signed-off-by: Tapani Pälli Reviewed-by: Daniel Stone --- src/intel/vulkan/anv_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index b42c76d8fe7..df8de8d9407 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -317,7 +317,7 @@ VkResult __vk_errorf(struct anv_instance *instance, const void *object, #define anv_debug(format, ...) fprintf(stderr, "debug: " format, ##__VA_ARGS__) #else #define vk_error(error) error -#define vk_errorf(error, format, ...) error +#define vk_errorf(instance, obj, error, format, ...) error #define anv_debug(format, ...) #endif -- 2.30.2