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

Fixed SDL_GPUTextureSupportsSampleCount() documentation

Fixes https://github.com/libsdl-org/sdlwiki/issues/751
Sam Lantinga 7 месяцев назад
Родитель
Сommit
ffe69fc354
1 измененных файлов с 1 добавлено и 1 удалено
  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 device a GPU context.
  * \param format the texture format to check.
  * \param format the texture format to check.
  * \param sample_count the sample count 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.
  * \since This function is available since SDL 3.2.0.
  */
  */