ソースを参照

Fix grammar in MoltenVK support docs

(cherry picked from commit 4c90e21e8f2d2b1edf5741527385cad9b71bc526)
Camilla Löwy 4 年 前
コミット
bcaf8daa72
1 ファイル変更3 行追加4 行削除
  1. 3 4
      include/GLFW/glfw3.h

+ 3 - 4
include/GLFW/glfw3.h

@@ -5708,9 +5708,8 @@ GLFWAPI int glfwVulkanSupported(void);
  *  returned array, as it is an error to specify an extension more than once in
  *  returned array, as it is an error to specify an extension more than once in
  *  the `VkInstanceCreateInfo` struct.
  *  the `VkInstanceCreateInfo` struct.
  *
  *
- *  @remark @macos This function currently supports either the
- *  `VK_MVK_macos_surface` extension from MoltenVK or `VK_EXT_metal_surface`
- *  extension.
+ *  @remark @macos GLFW currently supports both the `VK_MVK_macos_surface` and
+ *  the newer `VK_EXT_metal_surface` extensions.
  *
  *
  *  @pointer_lifetime The returned array is allocated and freed by GLFW.  You
  *  @pointer_lifetime The returned array is allocated and freed by GLFW.  You
  *  should not free it yourself.  It is guaranteed to be valid only until the
  *  should not free it yourself.  It is guaranteed to be valid only until the
@@ -5793,7 +5792,7 @@ GLFWAPI GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, const char* p
  *  GLFW_API_UNAVAILABLE and @ref GLFW_PLATFORM_ERROR.
  *  GLFW_API_UNAVAILABLE and @ref GLFW_PLATFORM_ERROR.
  *
  *
  *  @remark @macos This function currently always returns `GLFW_TRUE`, as the
  *  @remark @macos This function currently always returns `GLFW_TRUE`, as the
- *  `VK_MVK_macos_surface` extension does not provide
+ *  `VK_MVK_macos_surface` and `VK_EXT_metal_surface` extensions do not provide
  *  a `vkGetPhysicalDevice*PresentationSupport` type function.
  *  a `vkGetPhysicalDevice*PresentationSupport` type function.
  *
  *
  *  @thread_safety This function may be called from any thread.  For
  *  @thread_safety This function may be called from any thread.  For