From: Kristian Høgsberg Kristensen Date: Fri, 25 Sep 2015 22:15:37 +0000 (-0700) Subject: vk: Also define vk_errorf in non-debug builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=850cfcad3e0d63205822ddef8670c0c1d9b5a681;p=mesa.git vk: Also define vk_errorf in non-debug builds --- diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 4917f9ad768..99135424956 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -135,6 +135,7 @@ VkResult __vk_errorf(VkResult error, const char *file, int line, const char *for #define vk_errorf(error, format, ...) __vk_errorf(error, __FILE__, __LINE__, format, ## __VA_ARGS__); #else #define vk_error(error) error +#define vk_errorf(error, format, ...) error #endif void __anv_finishme(const char *file, int line, const char *format, ...)