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

@@ -27,10 +27,12 @@
#define GLFW_INCLUDE_VULKAN
#ifdef _WIN64
// Add windows.h to the include path firstly as dependency for other Windows headers
#include <windows.h>
// Add other Windows headers
#include <VersionHelpers.h>
#include <aclapi.h>
#include <dxgi1_2.h>
#include <windows.h>
#define _USE_MATH_DEFINES
#endif