SDL: testcamera: libSDL3_test destroys the window and renderer

From d3d7c04bf8940c1ae2a007b6a4118830e40e8c4e Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 13 May 2024 16:16:52 +0200
Subject: [PATCH] testcamera: libSDL3_test destroys the window and renderer

This fixes a "DEBUG: Parameter 'renderer' is invalid" message when exiting testcamera.
---
 test/testcamera.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/test/testcamera.c b/test/testcamera.c
index e5fbd5c4835d1..dd2021096d4d5 100644
--- a/test/testcamera.c
+++ b/test/testcamera.c
@@ -175,7 +175,7 @@ int SDL_AppEvent(void *appstate, const SDL_Event *event)
             return FlipCamera();
 
         case SDL_EVENT_QUIT:
-            SDL_Log("Ctlr+C : Quit!");
+            SDL_Log("Quit!");
             return 1;
 
         case SDL_EVENT_CAMERA_DEVICE_APPROVED:
@@ -266,8 +266,5 @@ void SDL_AppQuit(void *appstate)
     SDL_ReleaseCameraFrame(camera, frame_current);
     SDL_CloseCamera(camera);
     SDL_DestroyTexture(texture);
-    SDL_DestroyRenderer(renderer);
-    SDL_DestroyWindow(window);
     SDLTest_CommonQuit(state);
 }
-