]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - thread_sdl.c
Remove support for libSDL1.2 which has been deprecated for years.
[xonotic/darkplaces.git] / thread_sdl.c
index 4f58f71d386f95863d6a6752cee0ea133f91776d..65d14d7218b05d82e1b48d7d8f5682e7a2dedfd3 100644 (file)
@@ -100,11 +100,7 @@ int _Thread_CondWait(void *cond, void *mutex, const char *filename, int fileline
 
 void *_Thread_CreateThread(int (*fn)(void *), void *data, const char *filename, int fileline)
 {
-#if SDL_MAJOR_VERSION == 1
-       void *thread = (void *)SDL_CreateThread(fn, data);
-#else
        void *thread = (void *)SDL_CreateThread(fn, filename, data);
-#endif
 #ifdef THREADDEBUG
        Sys_PrintfToTerminal("%p thread create %s:%i\n"   , thread, filename, fileline);
 #endif