From ebae832becfe966d2f413ca17cd2f9e7d4e804f1 Mon Sep 17 00:00:00 2001 From: Mike Stroyan Date: Fri, 17 Apr 2015 12:36:38 -0600 Subject: update to vulkan.h header version 90, bug 13529 --- include/vk_platform.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'include/vk_platform.h') diff --git a/include/vk_platform.h b/include/vk_platform.h index 957c135e..90db1b2f 100644 --- a/include/vk_platform.h +++ b/include/vk_platform.h @@ -2,7 +2,7 @@ // File: vk_platform.h // /* -** Copyright (c) 2014 The Khronos Group Inc. +** Copyright (c) 2014-2015 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -82,6 +82,16 @@ typedef uint32_t bool32_t; typedef uint32_t VkSampleMask; typedef uint32_t VkFlags; +#if (UINTPTR_MAX >= UINT64_MAX) + #define VK_UINTPTRLEAST64_MAX UINTPTR_MAX + + typedef uintptr_t VkUintPtrLeast64; +#else + #define VK_UINTPTRLEAST64_MAX UINT64_MAX + + typedef uint64_t VkUintPtrLeast64; +#endif + #ifdef __cplusplus } // extern "C" #endif // __cplusplus -- cgit v1.2.3