From cfde15a7c3c7bdb040979b8fb7432cc08bebe1cb Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 14 Sep 2025 10:11:42 -0700
Subject: [PATCH] Remove see-also references to SDL functions in the SDL_image
header
The wiki bridge turns it into a local link, not a reference to the SDL library
(cherry picked from commit ab1c8ccf8ddec771c6fef4575f6e301b6aab5515)
---
include/SDL_image.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/include/SDL_image.h b/include/SDL_image.h
index db3c80fae..0ff2e2b5c 100644
--- a/include/SDL_image.h
+++ b/include/SDL_image.h
@@ -248,7 +248,6 @@ extern DECLSPEC void SDLCALL IMG_Quit(void);
*
* \sa IMG_Load
* \sa IMG_Load_RW
- * \sa SDL_FreeSurface
*/
extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadTyped_RW(SDL_RWops *src, int freesrc, const char *type);
@@ -290,7 +289,6 @@ extern DECLSPEC SDL_Surface * SDLCALL IMG_LoadTyped_RW(SDL_RWops *src, int frees
*
* \sa IMG_LoadTyped_RW
* \sa IMG_Load_RW
- * \sa SDL_FreeSurface
*/
extern DECLSPEC SDL_Surface * SDLCALL IMG_Load(const char *file);
@@ -343,7 +341,6 @@ extern DECLSPEC SDL_Surface * SDLCALL IMG_Load(const char *file);
*
* \sa IMG_Load
* \sa IMG_LoadTyped_RW
- * \sa SDL_FreeSurface
*/
extern DECLSPEC SDL_Surface * SDLCALL IMG_Load_RW(SDL_RWops *src, int freesrc);
@@ -381,7 +378,6 @@ extern DECLSPEC SDL_Surface * SDLCALL IMG_Load_RW(SDL_RWops *src, int freesrc);
*
* \sa IMG_LoadTextureTyped_RW
* \sa IMG_LoadTexture_RW
- * \sa SDL_DestroyTexture
*/
extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTexture(SDL_Renderer *renderer, const char *file);
@@ -428,7 +424,6 @@ extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTexture(SDL_Renderer *renderer, co
*
* \sa IMG_LoadTexture
* \sa IMG_LoadTextureTyped_RW
- * \sa SDL_DestroyTexture
*/
extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTexture_RW(SDL_Renderer *renderer, SDL_RWops *src, int freesrc);
@@ -483,7 +478,6 @@ extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTexture_RW(SDL_Renderer *renderer,
*
* \sa IMG_LoadTexture
* \sa IMG_LoadTexture_RW
- * \sa SDL_DestroyTexture
*/
extern DECLSPEC SDL_Texture * SDLCALL IMG_LoadTextureTyped_RW(SDL_Renderer *renderer, SDL_RWops *src, int freesrc, const char *type);
#endif /* SDL 2.0 */