summaryrefslogtreecommitdiffstats
path: root/thirdparty
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-01 17:12:58 +0200
committerGitHub <noreply@github.com>2020-04-01 17:12:58 +0200
commitff14d071ccfdf25b899ab49312ef639da7c71fd6 (patch)
tree570ca5999a210e7198351d121f6b3a3f201aa1d8 /thirdparty
parent2e84b7b91661bc250da58904fe3c34c8fe684203 (diff)
parent516b3bb88fb05cc7f4d2c1c1736bffffae921b70 (diff)
downloadredot-engine-ff14d071ccfdf25b899ab49312ef639da7c71fd6.tar.gz
Merge pull request #37492 from akien-mga/warnings-clang-displayserverwindows
Fix Clang warnings on Windows
Diffstat (limited to 'thirdparty')
-rw-r--r--thirdparty/README.md2
-rw-r--r--thirdparty/vulkan/vk_enum_string_helper.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/README.md b/thirdparty/README.md
index 3d41c9d166..95a6902089 100644
--- a/thirdparty/README.md
+++ b/thirdparty/README.md
@@ -574,6 +574,8 @@ Files extracted from upstream source:
`vk_enum_string_helper.h` is taken from the matching `Vulkan-ValidationLayers`
SDK release: https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/master/layers/generated/vk_enum_string_helper.h
+Includes custom change to disable MSVC pragma, might be upstreamed via:
+https://github.com/KhronosGroup/Vulkan-ValidationLayers/pull/1666
`vk_mem_alloc.h` is taken from https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
Version: 2.3.0
diff --git a/thirdparty/vulkan/vk_enum_string_helper.h b/thirdparty/vulkan/vk_enum_string_helper.h
index 00c2b9d1d5..1c99b31270 100644
--- a/thirdparty/vulkan/vk_enum_string_helper.h
+++ b/thirdparty/vulkan/vk_enum_string_helper.h
@@ -31,7 +31,7 @@
#pragma once
-#ifdef _WIN32
+#ifdef _MSC_VER
#pragma warning( disable : 4065 )
#endif