MCPcopy Create free account
hub / github.com/SFML/SFML / createVulkanSurface

Method createVulkanSurface

src/SFML/Window/WindowImpl.cpp:386–399  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

384
385////////////////////////////////////////////////////////////
386bool WindowImpl::createVulkanSurface([[maybe_unused]] const VkInstance& instance,
387 [[maybe_unused]] VkSurfaceKHR& surface,
388 [[maybe_unused]] const VkAllocationCallbacks* allocator) const
389{
390#if defined(SFML_VULKAN_IMPLEMENTATION_NOT_AVAILABLE)
391
392 return false;
393
394#else
395
396 return VulkanImpl::createVulkanSurface(instance, getNativeHandle(), surface, allocator);
397
398#endif
399}
400
401} // namespace sf::priv

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected