From: Tapani Pälli Date: Tue, 12 Sep 2017 10:09:37 +0000 (+0300) Subject: anv: fix build issues on release build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f940b1665a7f17ad2ae7ae2e951d90d151482875;p=mesa.git anv: fix build issues on release build Fixes: d083bc1c4b ("anv: wire up vk_errorf macro to do debug reporting") Signed-off-by: Tapani Pälli Reviewed-by: Daniel Stone --- 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