[Mesa-dev] [PATCH] anv: fix build issues on release build
Tapani Pälli
tapani.palli at intel.com
Tue Sep 12 10:11:49 UTC 2017
Fixes: d083bc1c4b ("anv: wire up vk_errorf macro to do debug reporting")
Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
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 b42c76d8fe..df8de8d940 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.13.5
More information about the mesa-dev
mailing list