Skip to content

Commit 955698c

Browse files
committed
testthread: SDL performs thread initialization automatically
1 parent 1c46c8a commit 955698c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/testthread.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@ int main(int argc, char *argv[])
118118
i += consumed;
119119
}
120120

121-
/* Load the SDL library */
122-
if (!SDL_Init(0)) {
123-
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't initialize SDL: %s", SDL_GetError());
124-
return 1;
125-
}
126-
127121
if (SDL_GetEnvironmentVariable(SDL_GetEnvironment(), "SDL_TESTS_QUICK") != NULL) {
128122
SDL_Log("Not running slower tests");
129123
SDL_Quit();

0 commit comments

Comments
 (0)