mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Remove varargs support from LOG_VULKAN_ERROR
Nothing currently uses it. It could theoretically be replaced with fmt support, but I don't think the LOG_VULKAN_ERROR macro is that useful and it'd be better to replace it with regular logging instead.
This commit is contained in:
@ -48,9 +48,9 @@ void UnloadVulkanLibrary();
|
||||
|
||||
const char* VkResultToString(VkResult res);
|
||||
void LogVulkanResult(Common::Log::LogLevel level, const char* func_name, VkResult res,
|
||||
const char* msg, ...);
|
||||
const char* msg);
|
||||
|
||||
#define LOG_VULKAN_ERROR(res, ...) \
|
||||
LogVulkanResult(Common::Log::LogLevel::LERROR, __func__, res __VA_OPT__(, ) __VA_ARGS__)
|
||||
#define LOG_VULKAN_ERROR(res, msg) \
|
||||
LogVulkanResult(Common::Log::LogLevel::LERROR, __func__, res, msg)
|
||||
|
||||
} // namespace Vulkan
|
||||
|
Reference in New Issue
Block a user