sdl12-compat: remove unnecarry assert.

From c4ffe41c95f5c40c2e2eaad452c9a1738b0da05f Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 22 May 2024 17:32:40 +0300
Subject: [PATCH] remove unnecarry assert.

---
 src/SDL12_compat.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index cf661e19b..710bea957 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -6107,7 +6107,6 @@ SetVideoModeImpl(int width, int height, int bpp, Uint32 flags12)
     } else if (VideoSurface12->surface20 && (VideoSurface12->surface20->format->format != appfmt)) {
         EndVidModeCreate();  /* rebuild the window if changing pixel format */
     } else {
-        SDL_assert(VideoSurface12 != NULL);
         /* SDL 1.2 (infuriatingly!) destroys the window (and GL context!) on each resize in some cases, on various platforms. Try to match that. */
         #ifdef __WINDOWS__
             /* The windx5 driver _always_ destroyed the window, unconditionally, but the default (windib) did not, so match windib.