From 955698c635108fa672dc94069531e54a9129d934 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 30 Nov 2025 10:37:20 -0800 Subject: [PATCH] testthread: SDL performs thread initialization automatically --- test/testthread.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/testthread.c b/test/testthread.c index 70710eacbc..ea56af95b9 100644 --- a/test/testthread.c +++ b/test/testthread.c @@ -118,12 +118,6 @@ int main(int argc, char *argv[]) i += consumed; } - /* Load the SDL library */ - if (!SDL_Init(0)) { - SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't initialize SDL: %s", SDL_GetError()); - return 1; - } - if (SDL_GetEnvironmentVariable(SDL_GetEnvironment(), "SDL_TESTS_QUICK") != NULL) { SDL_Log("Not running slower tests"); SDL_Quit();