summaryrefslogtreecommitdiff
path: root/thirdparty/vulkan
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-08-05 10:53:50 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-02-11 11:58:54 +0100
commitae3ce0898283bd9c8df73ceebef3b5ac85d1c619 (patch)
tree5fb13fe9f59157ecc103cf0c0e735ef5191fb32f /thirdparty/vulkan
parentdc3b47f3abbeb271ca16ce54f2c965099d4ae492 (diff)
VulkanLoader: Make Windows includes lowercase for MinGW
MinGW-w64 ships all Windows SDK headers as lowercase, which prevents cross-compiling this code from Linux. Windows filesystems are case insensitive so it should work fine with lowercase includes. PR'ed upstream: https://github.com/KhronosGroup/Vulkan-Loader/pull/212
Diffstat (limited to 'thirdparty/vulkan')
-rwxr-xr-xthirdparty/vulkan/loader/loader.c4
-rwxr-xr-xthirdparty/vulkan/loader/vk_loader_platform.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/thirdparty/vulkan/loader/loader.c b/thirdparty/vulkan/loader/loader.c
index f2db7924a2..5e4de5e749 100755
--- a/thirdparty/vulkan/loader/loader.c
+++ b/thirdparty/vulkan/loader/loader.c
@@ -60,9 +60,9 @@
#include "murmurhash.h"
#if defined(_WIN32)
-#include <Cfgmgr32.h>
+#include <cfgmgr32.h>
#include <initguid.h>
-#include <Devpkey.h>
+#include <devpkey.h>
#endif
// This is a CMake generated file with #defines for any functions/includes
diff --git a/thirdparty/vulkan/loader/vk_loader_platform.h b/thirdparty/vulkan/loader/vk_loader_platform.h
index dd6b3fde67..e405c21088 100755
--- a/thirdparty/vulkan/loader/vk_loader_platform.h
+++ b/thirdparty/vulkan/loader/vk_loader_platform.h
@@ -25,7 +25,7 @@
#if defined(_WIN32)
// WinSock2.h must be included *BEFORE* windows.h
-#include <WinSock2.h>
+#include <winsock2.h>
#endif // _WIN32
#include "vulkan/vk_platform.h"