summaryrefslogtreecommitdiff
path: root/chapters/VK_MVK_macos_surface/platformCreateSurface_macos.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'chapters/VK_MVK_macos_surface/platformCreateSurface_macos.adoc')
-rw-r--r--chapters/VK_MVK_macos_surface/platformCreateSurface_macos.adoc20
1 files changed, 10 insertions, 10 deletions
diff --git a/chapters/VK_MVK_macos_surface/platformCreateSurface_macos.adoc b/chapters/VK_MVK_macos_surface/platformCreateSurface_macos.adoc
index a6fe1c25..67d7e6bd 100644
--- a/chapters/VK_MVK_macos_surface/platformCreateSurface_macos.adoc
+++ b/chapters/VK_MVK_macos_surface/platformCreateSurface_macos.adoc
@@ -14,16 +14,6 @@ basetype:CAMetalLayer, call:
include::{generated}/api/protos/vkCreateMacOSSurfaceMVK.adoc[]
-ifdef::VK_EXT_metal_surface[]
-[NOTE]
-.Note
-====
-The `vkCreateMacOSSurfaceMVK` function is considered deprecated and has been
-superseded by flink:vkCreateMetalSurfaceEXT from the
-`apiext:VK_EXT_metal_surface` extension.
-====
-endif::VK_EXT_metal_surface[]
-
* pname:instance is the instance with which to associate the surface.
* pname:pCreateInfo is a pointer to a slink:VkMacOSSurfaceCreateInfoMVK
structure containing parameters affecting the creation of the surface
@@ -34,6 +24,16 @@ endif::VK_EXT_metal_surface[]
* pname:pSurface is a pointer to a slink:VkSurfaceKHR handle in which the
created surface object is returned.
+ifdef::VK_EXT_metal_surface[]
+[NOTE]
+.Note
+====
+The `vkCreateMacOSSurfaceMVK` function is considered deprecated and has been
+superseded by flink:vkCreateMetalSurfaceEXT from the
+`apiext:VK_EXT_metal_surface` extension.
+====
+endif::VK_EXT_metal_surface[]
+
include::{generated}/validity/protos/vkCreateMacOSSurfaceMVK.adoc[]
--