summaryrefslogtreecommitdiff
path: root/include/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-01-14 08:00:18 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2016-01-14 08:00:18 -0800
commit6d3322d0e5e36a4fb0a6a2e07cc65539e1f7caac (patch)
treef1049a80d4b87ec39be497054f1b0911fb41e525 /include/vulkan
parentb57c72d9646c3f7ef595379328e5b7d64d8e94dc (diff)
vulkan-1.0.0: Make extents unsigned
Diffstat (limited to 'include/vulkan')
-rw-r--r--include/vulkan/vulkan.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h
index 36459b14c5..82ecae6238 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 {