Parcourir la source

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

Eduard Gushchin il y a 9 mois
Parent
commit
9fb8661684
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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.
  *
  * \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.
  *