mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Revert "testautomation: fix renderer leak in video tests"
This reverts commit 2f13f66c71.
Not needed if renderers are once again implicitly cleaned up when their associated windows are destroyed.
This commit is contained in:
parent
8f14fa1113
commit
a7df28201b
1 changed files with 0 additions and 2 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue