From dce254653495dd2a037ce9e9eee49b4847d0ced8 Mon Sep 17 00:00:00 2001
From: Sylvain <[EMAIL REDACTED]>
Date: Fri, 16 Dec 2022 16:42:06 +0100
Subject: [PATCH] Revert wrong comment in SDL_surface.h for SDL3 (see #6824)
---
include/SDL3/SDL_surface.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/SDL3/SDL_surface.h b/include/SDL3/SDL_surface.h
index 45dbd12039bb..b768fea45de1 100644
--- a/include/SDL3/SDL_surface.h
+++ b/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;