summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_private.h
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2015-09-25 15:15:37 -0700
committerKristian Høgsberg Kristensen <[email protected]>2015-09-25 15:15:37 -0700
commit850cfcad3e0d63205822ddef8670c0c1d9b5a681 (patch)
treef08ae54d309931410808caa00e71cf441252f7f0 /src/vulkan/anv_private.h
parentcf24211d55b304991a87c47a42caae31cbcb13fc (diff)
vk: Also define vk_errorf in non-debug builds
Diffstat (limited to 'src/vulkan/anv_private.h')
-rw-r--r--src/vulkan/anv_private.h1
1 files changed, 1 insertions, 0 deletions
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, ...)