SDL_rtf: fix build against latest SDL3 (SDL_CreateWindowAndRenderer sig change)

From 4a596e5376400e00c433f1f674ec97d61ad75798 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 1 May 2024 00:23:50 +0300
Subject: [PATCH] fix build against latest SDL3 (SDL_CreateWindowAndRenderer
 sig change)

---
 examples/showrtf.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/examples/showrtf.c b/examples/showrtf.c
index 6e08f15..756532d 100644
--- a/examples/showrtf.c
+++ b/examples/showrtf.c
@@ -223,7 +223,7 @@ int main(int argc, char *argv[])
         return(3);
     }
 
-    if (SDL_CreateWindowAndRenderer(SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_RESIZABLE, &window, &renderer) < 0) {
+    if (SDL_CreateWindowAndRenderer("showrtf demo", SCREEN_WIDTH, SCREEN_HEIGHT, SDL_WINDOW_RESIZABLE, &window, &renderer) < 0) {
         SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_CreateWindowAndRenderer() failed: %s\n", SDL_GetError());
         cleanup();
         return(4);
@@ -332,5 +332,3 @@ int main(int argc, char *argv[])
 
     return 0;
 }
-
-/* vi: set ts=4 sw=4 expandtab: */