Skip to content

Commit c87d52a

Browse files
author
Majitelll
committed
fix: include windows.h for Windows build compatibility
The getExeDir() function uses MAX_PATH and GetModuleFileNameW which require windows.h, but the header was missing.
1 parent af44861 commit c87d52a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/renderer_vulkan.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
#include <set>
1414
#include <stdexcept>
1515

16+
#ifdef _WIN32
17+
#include <windows.h>
18+
#endif
19+
1620
// ─────────────────────────────────────────────────────────────────────────────
1721
// Config
1822
// ─────────────────────────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)