From f7d8c400a629076d1de501739ea9faa2189bdca2 Mon Sep 17 00:00:00 2001 From: Leon Kang <2090093273@qq.com> Date: Thu, 3 Oct 2024 22:05:05 -0700 Subject: fix windows compilation errors --- src/vulkan_helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vulkan_helper.cpp b/src/vulkan_helper.cpp index c281b2c..53e3454 100644 --- a/src/vulkan_helper.cpp +++ b/src/vulkan_helper.cpp @@ -182,7 +182,7 @@ Device::Device(std::vector layers, std::vector instanc } }; - constexpr char *device_extensions[] = { + constexpr const char *device_extensions[] = { VK_KHR_SWAPCHAIN_EXTENSION_NAME, VK_EXT_SHADER_ATOMIC_FLOAT_EXTENSION_NAME, VK_KHR_RAY_TRACING_PIPELINE_EXTENSION_NAME, -- cgit v1.2.3-70-g09d2