build: quick tests for vk::native support
This commit is contained in:
parent
fe6a28b99c
commit
a303e5615a
@ -63,7 +63,7 @@ VkSurfaceCapabilitiesKHR
|
||||
physical_device::surface_capabilities (surface &_surface) const
|
||||
{
|
||||
return error::try_query (
|
||||
vkGetPhysicalDeviceSurfaceCapabilitiesKHR, native (), _surface.native ()
|
||||
vkGetPhysicalDeviceSurfaceCapabilitiesKHR, native (), _surface
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -249,7 +249,7 @@ main (void)
|
||||
auto swapchain = cruft::vk::make_owned<cruft::vk::swapchain> (ldevice, &swap_create_info, nullptr);
|
||||
|
||||
std::vector<VkImage> swap_images = cruft::vk::error::try_values (
|
||||
vkGetSwapchainImagesKHR, ldevice.native (), swapchain->native ()
|
||||
vkGetSwapchainImagesKHR, ldevice, swapchain
|
||||
);
|
||||
|
||||
using image_view_ptr = cruft::vk::owned_ptr<cruft::vk::image_view>;
|
||||
|
Loading…
Reference in New Issue
Block a user