summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeon Kang <2090093273@qq.com>2024-10-03 22:05:05 -0700
committerLeon Kang <2090093273@qq.com>2024-10-03 22:05:05 -0700
commitf7d8c400a629076d1de501739ea9faa2189bdca2 (patch)
treef82c0bb76d37cc228fc323b3489209abc0735b80 /src
parent1f47c662a07ec83d4033b1a5f4b48dd8dfa58b7b (diff)
downloadiris-f7d8c400a629076d1de501739ea9faa2189bdca2.tar.gz
iris-f7d8c400a629076d1de501739ea9faa2189bdca2.zip
fix windows compilation errorswindows-build
Diffstat (limited to 'src')
-rw-r--r--src/vulkan_helper.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> layers, std::vector<std::string> 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,