Update the include files sequence for vulkan samples on Windows

This commit is contained in:
shawnz
2025-05-19 17:38:22 +08:00
parent b530f1cf42
commit 107f3f537f
3 changed files with 18 additions and 12 deletions

View File

@@ -34,8 +34,10 @@
#include <vulkan/vulkan.h>
#ifdef _WIN64
#define NOMINMAX
#include <vulkan/vulkan_win32.h>
// Add windows.h to the include path firstly as dependency for other Windows headers
#include <windows.h>
// Add other Windows headers
#include <vulkan/vulkan_win32.h>
#endif /* _WIN64 */
struct GLFWwindow;