Use VkResult
This commit is contained in:
parent
6c9898788f
commit
8b68fed8dc
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ pub trait InstanceV1_0 {
|
||||||
tiling: vk::ImageTiling,
|
tiling: vk::ImageTiling,
|
||||||
usage: vk::ImageUsageFlags,
|
usage: vk::ImageUsageFlags,
|
||||||
flags: vk::ImageCreateFlags,
|
flags: vk::ImageCreateFlags,
|
||||||
) -> Result<vk::ImageFormatProperties, vk::Result> {
|
) -> VkResult<vk::ImageFormatProperties> {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut image_format_prop = mem::uninitialized();
|
let mut image_format_prop = mem::uninitialized();
|
||||||
let err_code = self.fp_v1_0().get_physical_device_image_format_properties(
|
let err_code = self.fp_v1_0().get_physical_device_image_format_properties(
|
||||||
|
|
Loading…
Add table
Reference in a new issue