Vulkan/Surface: Add implicit conversion to VkSurfaceKHR
Former-commit-id: 83bd6ba118a3d5c3c2ea136b6cc0a0011d1d4c3d
This commit is contained in:
@@ -202,6 +202,11 @@ namespace Nz
|
||||
return false;
|
||||
}
|
||||
|
||||
inline Surface::operator VkSurfaceKHR()
|
||||
{
|
||||
return m_surface;
|
||||
}
|
||||
|
||||
inline bool Surface::Create(const VkAllocationCallbacks* allocator)
|
||||
{
|
||||
if (m_lastErrorCode != VkResult::VK_SUCCESS)
|
||||
|
||||
Reference in New Issue
Block a user