Quellcode durchsuchen

Fixed SDL_GPUTextureSupportsSampleCount() documentation

Fixes https://github.com/libsdl-org/sdlwiki/issues/751

(cherry picked from commit ffe69fc354641b778a84a9c0290ae46076fb4e5d)
Sam Lantinga vor 1 Monat
Ursprung
Commit
53f64e40c4
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      include/SDL3/SDL_gpu.h

+ 1 - 1
include/SDL3/SDL_gpu.h

@@ -4145,7 +4145,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_GPUTextureSupportsFormat(
  * \param device a GPU context.
  * \param format the texture format to check.
  * \param sample_count the sample count to check.
- * \returns a hardware-specific version of min(preferred, possible).
+ * \returns whether the sample count is supported for this texture format.
  *
  * \since This function is available since SDL 3.2.0.
  */