From 6d3322d0e5e36a4fb0a6a2e07cc65539e1f7caac Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 14 Jan 2016 08:00:18 -0800 Subject: [PATCH] vulkan-1.0.0: Make extents unsigned --- include/vulkan/vulkan.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 36459b14c58..82ecae62380 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -1209,9 +1209,9 @@ typedef struct VkFormatProperties { } VkFormatProperties; typedef struct VkExtent3D { - int32_t width; - int32_t height; - int32_t depth; + uint32_t width; + uint32_t height; + uint32_t depth; } VkExtent3D; typedef struct VkImageFormatProperties { @@ -1710,8 +1710,8 @@ typedef struct VkOffset2D { } VkOffset2D; typedef struct VkExtent2D { - int32_t width; - int32_t height; + uint32_t width; + uint32_t height; } VkExtent2D; typedef struct VkRect2D { -- 2.30.2