From a7df28201be8f1e9f320224c8dce002ffe618332 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Tue, 26 Mar 2024 14:43:53 -0400 Subject: [PATCH] Revert "testautomation: fix renderer leak in video tests" This reverts commit 2f13f66c71d11115381ea6bbdece4bcdec252584. Not needed if renderers are once again implicitly cleaned up when their associated windows are destroyed. --- test/testautomation_video.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/testautomation_video.c b/test/testautomation_video.c index 726c8d8b8..c7423124b 100644 --- a/test/testautomation_video.c +++ b/test/testautomation_video.c @@ -55,7 +55,6 @@ static SDL_Window *createVideoSuiteTestWindow(const char *title) * so delay to give the window time to actually appear on the desktop. */ SDL_Delay(100); - SDL_DestroyRenderer(renderer); } else { SDLTest_Log("Unable to create a renderer, some tests may fail on Wayland/XWayland"); } @@ -1736,7 +1735,6 @@ static int video_setWindowCenteredOnDisplay(void *arg) * so delay to give the window time to actually appear on the desktop. */ SDL_Delay(100); - SDL_DestroyRenderer(renderer); } else { SDLTest_Log("Unable to create a renderer, tests may fail under Wayland"); }