SDL: video: Note unused SDL_surface creation parameters for removal in SDL 3

From 507ce36d807dd409963f59fdf9f51fcc8dd00dcb Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Tue, 10 May 2022 10:35:06 +0100
Subject: [PATCH] video: Note unused SDL_surface creation parameters for
 removal in SDL 3

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 src/video/SDL_surface.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/video/SDL_surface.c b/src/video/SDL_surface.c
index b2b52370073..f3ee6a4c412 100644
--- a/src/video/SDL_surface.c
+++ b/src/video/SDL_surface.c
@@ -69,6 +69,7 @@ SDL_CalculatePitch(Uint32 format, size_t width, SDL_bool minimal)
     return pitch;
 }
 
+/* TODO: In SDL 3, drop the unused flags and depth parameters */
 /*
  * Create an empty RGB surface of the appropriate depth using the given
  * enum SDL_PIXELFORMAT_* format
@@ -176,6 +177,7 @@ SDL_CreateRGBSurfaceWithFormat(Uint32 flags, int width, int height, int depth,
     return surface;
 }
 
+/* TODO: In SDL 3, drop the unused flags parameter */
 /*
  * Create an empty RGB surface of the appropriate depth
  */
@@ -245,6 +247,7 @@ SDL_CreateRGBSurfaceFrom(void *pixels,
     return surface;
 }
 
+/* TODO: In SDL 3, drop the unused depth parameter */
 /*
  * Create an RGB surface from an existing memory buffer using the given given
  * enum SDL_PIXELFORMAT_* format