Crossplatform build fixes

This commit is contained in:
2021-01-24 21:21:21 +01:00
parent 91ce8cd9df
commit 9d27784e08
2 changed files with 31 additions and 11 deletions

View File

@@ -247,7 +247,7 @@ namespace openVulkanoCpp::GLFW
{
VkSurfaceKHR rawSurface;
const auto result = static_cast<vk::Result>(glfwCreateWindowSurface(static_cast<VkInstance>(instance), window, reinterpret_cast<const VkAllocationCallbacks*>(pAllocator), &rawSurface));
return std::move(rawSurface);//createResultValue(result, rawSurface, "vk::CommandBuffer::begin");
return rawSurface;//createResultValue(result, rawSurface, "vk::CommandBuffer::begin");
}
std::vector<std::string> WindowGLFW::GetRequiredInstanceExtensions()