Parcourir la source

Fixed SDL_GPUTextureSupportsSampleCount() documentation

Fixes https://github.com/libsdl-org/sdlwiki/issues/751
Sam Lantinga il y a 1 mois
Parent
commit
ffe69fc354
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      include/SDL3/SDL_gpu.h

+ 1 - 1
include/SDL3/SDL_gpu.h

@@ -4151,7 +4151,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.
  */