Просмотр исходного кода

Sync SDL3 wiki -> header

[ci skip]

(cherry picked from commit 5642fc963e72f0e82c4c84aeb9d58b2fc2ddc5d3)
SDL Wiki Bot 1 месяц назад
Родитель
Сommit
2ea3ac2914
1 измененных файлов с 6 добавлено и 6 удалено
  1. 6 6
      include/SDL3/SDL_gpu.h

+ 6 - 6
include/SDL3/SDL_gpu.h

@@ -2322,12 +2322,12 @@ extern SDL_DECLSPEC SDL_GPUDevice * SDLCALL SDL_CreateGPUDevice(
  *   minimal set SDL requires.
  *
  * With the Metal backend: -
- * `SDL_PROP_GPU_DEVICE_CREATE_METAL_ALLOW_MACFAMILY1_BOOLEAN`: By default, macOS
- * support requires what Apple calls "MTLGPUFamilyMac2" hardware or newer.
- * However, an application can set this property to true to enable support for
- * "MTLGPUFamilyMac1" hardware, if (and only if) the application does not
- * write to sRGB textures. (For history's sake: MacFamily1 also does not
- * support indirect command buffers, MSAA depth resolve, and stencil
+ * `SDL_PROP_GPU_DEVICE_CREATE_METAL_ALLOW_MACFAMILY1_BOOLEAN`: By default,
+ * macOS support requires what Apple calls "MTLGPUFamilyMac2" hardware or
+ * newer. However, an application can set this property to true to enable
+ * support for "MTLGPUFamilyMac1" hardware, if (and only if) the application
+ * does not write to sRGB textures. (For history's sake: MacFamily1 also does
+ * not support indirect command buffers, MSAA depth resolve, and stencil
  * resolve/feedback, but these are not exposed features in SDL_GPU.)
  *
  * \param props the properties to use.