From a4df583cd5710ae5cc92a33f426d58b03b32c88d Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sat, 5 Nov 2016 11:21:51 +0100 Subject: [PATCH] define around surface creation function for direct2display --- base/vulkanswapchain.hpp | 2 ++ 1 file changed, 2 insertions(+) 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 };