浏览代码

Merge pull request #31100 from akien-mga/vulkan

VulkanLoader: Make Windows includes lowercase for MinGW
Rémi Verschelde 6 年之前
父节点
当前提交
324082471d
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 2 2
      thirdparty/vulkan/loader/loader.c
  2. 1 1
      thirdparty/vulkan/loader/vk_loader_platform.h

+ 2 - 2
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

+ 1 - 1
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"