Browse Source

Revert wrong comment in SDL_surface.h for SDL3 (see #6824)

Sylvain 2 years ago
parent
commit
dce2546534
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/SDL3/SDL_surface.h

+ 1 - 1
include/SDL3/SDL_surface.h

@@ -577,7 +577,7 @@ extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurface(SDL_Surface *surface,
  * it might be easier to call but it doesn't have access to palette
  * information for the destination surface, in case that would be important.
  *
- * \param src the existing SDL_Surface structure to convert
+ * \param surface the existing SDL_Surface structure to convert
  * \param pixel_format the SDL_PixelFormatEnum that the new surface is
  *                     optimized for
  * \returns the new SDL_Surface structure that is created or NULL if it fails;