[Feat] (MG_Backend/DirectVulkan): hooking up Windows VK WSI

This commit is contained in:
2026-02-10 13:28:05 +08:00
parent 1c2924eef9
commit 162dbf8750
4 changed files with 24 additions and 6 deletions
+8 -1
View File
@@ -91,12 +91,19 @@
#endif
#ifdef __ANDROID__
#define VK_USE_PLATFORM_ANDROID_KHR
#include <unistd.h>
#include <pthread.h>
#include <android/log.h>
#include <android/native_window.h>
#endif
#ifdef __ANDROID__
#define VK_USE_PLATFORM_ANDROID_KHR
#elif _WIN32
#define VK_USE_PLATFORM_WIN32_KHR
#else
#warning "VK_USE_PLATFORM_*_KHR not defined for this platform!"
#endif
#include <vulkan/vulkan.h>
#ifdef TRACY_ENABLE