summaryrefslogtreecommitdiffstats
path: root/include/vulkan/vulkan_metal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/vulkan/vulkan_metal.h')
-rw-r--r--include/vulkan/vulkan_metal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/vulkan/vulkan_metal.h b/include/vulkan/vulkan_metal.h
index 7915619028d..16505237dfa 100644
--- a/include/vulkan/vulkan_metal.h
+++ b/include/vulkan/vulkan_metal.h
@@ -27,6 +27,7 @@ extern "C" {
*/
+
#define VK_EXT_metal_surface 1
#ifdef __OBJC__
@@ -35,12 +36,9 @@ extern "C" {
typedef void CAMetalLayer;
#endif
-
#define VK_EXT_METAL_SURFACE_SPEC_VERSION 1
#define VK_EXT_METAL_SURFACE_EXTENSION_NAME "VK_EXT_metal_surface"
-
typedef VkFlags VkMetalSurfaceCreateFlagsEXT;
-
typedef struct VkMetalSurfaceCreateInfoEXT {
VkStructureType sType;
const void* pNext;
@@ -48,7 +46,6 @@ typedef struct VkMetalSurfaceCreateInfoEXT {
const CAMetalLayer* pLayer;
} VkMetalSurfaceCreateInfoEXT;
-
typedef VkResult (VKAPI_PTR *PFN_vkCreateMetalSurfaceEXT)(VkInstance instance, const VkMetalSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface);
#ifndef VK_NO_PROTOTYPES