diff --git a/engine/gfx/vulkan/src/gfx_vulkan.cpp b/engine/gfx/vulkan/src/gfx_vulkan.cpp index 86a6ed9..3338640 100755 --- a/engine/gfx/vulkan/src/gfx_vulkan.cpp +++ b/engine/gfx/vulkan/src/gfx_vulkan.cpp @@ -18,9 +18,10 @@ #include "utility.hpp" #include "gfx_vulkan_commandbuffer.hpp" +#include + #ifdef PLATFORM_LINUX #include -#include #endif diff --git a/platforms/windows/windows.cpp b/platforms/windows/windows.cpp index 36b4bcd..3bbc63f 100755 --- a/platforms/windows/windows.cpp +++ b/platforms/windows/windows.cpp @@ -32,6 +32,14 @@ const char* platform::get_name() { return "Windows"; } +bool platform::supports_feature(const PlatformFeature feature) { + return false; +} + +std::vector platform::get_native_surface_extension() { + return {"VK_KHR_surface", "VK_KHR_win32_surface"}; +} + bool platform::get_key_down(const InputButton key) { if (inputToKeyCode.count(key)) { return (GetKeyState(inputToKeyCode[key]) & 0x8000) != 0;