From 8b68fed8dc90cfdce495934b29c5316f33d87512 Mon Sep 17 00:00:00 2001 From: Maik Klein Date: Tue, 3 Apr 2018 23:45:59 +0200 Subject: [PATCH] Use VkResult --- ash/src/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ash/src/instance.rs b/ash/src/instance.rs index f13a543..d0ce99a 100644 --- a/ash/src/instance.rs +++ b/ash/src/instance.rs @@ -132,7 +132,7 @@ pub trait InstanceV1_0 { tiling: vk::ImageTiling, usage: vk::ImageUsageFlags, flags: vk::ImageCreateFlags, - ) -> Result { + ) -> VkResult { unsafe { let mut image_format_prop = mem::uninitialized(); let err_code = self.fp_v1_0().get_physical_device_image_format_properties(