From a4c1afb3c443607e94f97c0de3ec39526383467d Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Mon, 12 Sep 2022 18:16:00 +0200 Subject: [PATCH] allow building against vulkan 1.2 headers e.g. on ubuntu 20.04 --- include/vk_mem_alloc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index ccb8990..c228173 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -16169,11 +16169,11 @@ VMA_CALL_PRE void VMA_CALL_POST vmaBuildStatsString( json.WriteString("apiVersion"); json.BeginString(); - json.ContinueString(VK_API_VERSION_MAJOR(deviceProperties.apiVersion)); + json.ContinueString(VK_VERSION_MAJOR(deviceProperties.apiVersion)); json.ContinueString("."); - json.ContinueString(VK_API_VERSION_MINOR(deviceProperties.apiVersion)); + json.ContinueString(VK_VERSION_MINOR(deviceProperties.apiVersion)); json.ContinueString("."); - json.ContinueString(VK_API_VERSION_PATCH(deviceProperties.apiVersion)); + json.ContinueString(VK_VERSION_PATCH(deviceProperties.apiVersion)); json.EndString(); json.WriteString("GPU");