浏览代码

Fixed an inaccuracy in the return parameter information in the SDL_SurfaceHasAlternateImages function

Eduard Gushchin 8 月之前
父节点
当前提交
9fb8661684
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/SDL3/SDL_surface.h

+ 1 - 1
include/SDL3/SDL_surface.h

@@ -351,7 +351,7 @@ extern SDL_DECLSPEC bool SDLCALL SDL_AddSurfaceAlternateImage(SDL_Surface *surfa
  * Return whether a surface has alternate versions available.
  * Return whether a surface has alternate versions available.
  *
  *
  * \param surface the SDL_Surface structure to query.
  * \param surface the SDL_Surface structure to query.
- * \returns true if alternate versions are available or true otherwise.
+ * \returns true if alternate versions are available or false otherwise.
  *
  *
  * \since This function is available since SDL 3.1.3.
  * \since This function is available since SDL 3.1.3.
  *
  *