diff --git a/base/vulkanswapchain.hpp b/base/vulkanswapchain.hpp index cd740e8f..aec18542 100644 --- a/base/vulkanswapchain.hpp +++ b/base/vulkanswapchain.hpp @@ -488,6 +488,7 @@ public: swapChain = VK_NULL_HANDLE; } +#if defined(_DIRECT2DISPLAY) /** * Create direct to display surface */ @@ -622,4 +623,5 @@ public: delete[] pDisplayProperties; delete[] pPlaneProperties; } +#endif };