Parcourir la source

Sync SDL3 wiki -> header

[ci skip]
SDL Wiki Bot il y a 3 mois
Parent
commit
a63e848509
1 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 6 6
      include/SDL3/SDL_gpu.h

+ 6 - 6
include/SDL3/SDL_gpu.h

@@ -2309,12 +2309,12 @@ extern SDL_DECLSPEC SDL_GPUDevice * SDLCALL SDL_CreateGPUDevice(
  *
  * With the Vulkan backend:
  *
- * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_REQUIRE_HARDWARE_ACCELERATION_BOOLEAN`: By
- * default, Vulkan device enumeration includes drivers of all types, including
- * software renderers (for example, the Lavapipe Mesa driver). This can be
- * useful if your application _requires_ SDL_GPU, but if you can provide your
- * own fallback renderer (for example, an OpenGL renderer) this property can
- * be set to true. Defaults to false.
+ * - `SDL_PROP_GPU_DEVICE_CREATE_VULKAN_REQUIRE_HARDWARE_ACCELERATION_BOOLEAN`:
+ *   By default, Vulkan device enumeration includes drivers of all types,
+ *   including software renderers (for example, the Lavapipe Mesa driver).
+ *   This can be useful if your application _requires_ SDL_GPU, but if you can
+ *   provide your own fallback renderer (for example, an OpenGL renderer) this
+ *   property can be set to true. Defaults to false.
  *
  * \param props the properties to use.
  * \returns a GPU context on success or NULL on failure; call SDL_GetError()