diff --git a/CMakeLists.txt b/CMakeLists.txt index 9aff70a5..08ee079b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -189,7 +189,7 @@ FetchContent_Declare(simdjson EXCLUDE_FROM_ALL SYSTEM URL https://github.co FetchContent_Declare(fastgltf EXCLUDE_FROM_ALL SYSTEM URL https://github.com/spnda/fastgltf/archive/refs/tags/v0.7.1.tar.gz) FetchContent_Declare(glm EXCLUDE_FROM_ALL SYSTEM URL https://github.com/g-truc/glm/archive/refs/tags/1.0.1.tar.gz) FetchContent_Declare(openxr_loader EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-1.0.34.tar.gz) -FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.11.0.tar.gz) +FetchContent_Declare(spdlog EXCLUDE_FROM_ALL SYSTEM URL https://github.com/gabime/spdlog/archive/refs/tags/v1.14.1.tar.gz) FetchContent_Declare(stb EXCLUDE_FROM_ALL SYSTEM URL https://github.com/nothings/stb/archive/013ac3beddff3dbffafd5177e7972067cd2b5083.zip) FetchContent_Declare(libktx EXCLUDE_FROM_ALL SYSTEM URL https://github.com/KhronosGroup/KTX-Software/archive/refs/tags/v4.3.0.tar.gz) FetchContent_Declare(implot EXCLUDE_FROM_ALL SYSTEM URL https://github.com/epezent/implot/archive/refs/tags/v0.16.tar.gz) diff --git a/client/application.cpp b/client/application.cpp index 96451f3e..c5509130 100644 --- a/client/application.cpp +++ b/client/application.cpp @@ -373,7 +373,7 @@ void application::initialize_vulkan() for (vk::LayerProperties & i: vk_context.enumerateInstanceLayerProperties()) { - spdlog::info(" {}", i.layerName); + spdlog::info(" {}", i.layerName.data()); if (!strcmp(i.layerName, "VK_LAYER_KHRONOS_validation")) { validation_layer_found = true; @@ -397,7 +397,7 @@ void application::initialize_vulkan() spdlog::info("Available Vulkan instance extensions:"); for (vk::ExtensionProperties & i: vk_context.enumerateInstanceExtensionProperties(nullptr)) { - spdlog::info(" {} (version {})", i.extensionName, i.specVersion); + spdlog::info(" {} (version {})", i.extensionName.data(), i.specVersion); #ifndef NDEBUG if (!strcmp(i.extensionName, VK_EXT_DEBUG_REPORT_EXTENSION_NAME)) @@ -488,13 +488,13 @@ void application::initialize_vulkan() spdlog::info("Available Vulkan device extensions:"); for (vk::ExtensionProperties & i: vk_physical_device.enumerateDeviceExtensionProperties()) { - spdlog::info(" {}", i.extensionName); + spdlog::info(" {}", i.extensionName.data()); if (auto it = optional_device_extensions.find(i.extensionName); it != optional_device_extensions.end()) vk_device_extensions.push_back(it->data()); } vk::PhysicalDeviceProperties prop = vk_physical_device.getProperties(); - spdlog::info("Initializing Vulkan with device {}", prop.deviceName); + spdlog::info("Initializing Vulkan with device {}", prop.deviceName.data()); std::vector queue_properties = vk_physical_device.getQueueFamilyProperties();