SDL-1.2: clarify creation of shadow surface

From aba1988d4d3f3a80f6c47b77e4df7bbc13a82ebe Mon Sep 17 00:00:00 2001
From: Miro Kropacek <[EMAIL REDACTED]>
Date: Sat, 6 Jul 2024 20:07:05 +0200
Subject: [PATCH] clarify creation of shadow surface

SDL_SetVideoMode() was later extended in commit 39d062df to include the
fourth clause but without updating the original comment.
---
 src/video/SDL_video.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index f7e48851..00d2cb94 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -893,10 +893,11 @@ SDL_Surface * SDL_SetVideoMode (int width, int height, int bpp, Uint32 flags)
 	}
 
 	/* Create a shadow surface if necessary */
-	/* There are three conditions under which we create a shadow surface:
+	/* There are four conditions under which we create a shadow surface:
 		1.  We need a particular bits-per-pixel that we didn't get.
 		2.  We need a hardware palette and didn't get one.
 		3.  We need a software surface and got a hardware surface.
+		4.  We need a double-buffered surface and got a plain hardware surface.
 	*/
 	if ( !(SDL_VideoSurface->flags & SDL_OPENGL) &&
 	     (