src/thread/SDL_thread.c
changeset 5509 5b1b4d820d10
parent 5506 82a09d5d0f07
child 5535 96594ac5fd1a
     1.1 --- a/src/thread/SDL_thread.c	Fri Mar 25 11:09:57 2011 -0700
     1.2 +++ b/src/thread/SDL_thread.c	Fri Mar 25 12:44:06 2011 -0700
     1.3 @@ -295,13 +295,9 @@
     1.4  }
     1.5  
     1.6  int
     1.7 -SDL_SetThreadPriority(SDL_Thread * thread, SDL_ThreadPriority priority)
     1.8 +SDL_SetThreadPriority(SDL_ThreadPriority priority)
     1.9  {
    1.10 -    if (!thread) {
    1.11 -        SDL_SetError("SDL_SetThreadPriority() passed NULL thread");
    1.12 -        return -1;
    1.13 -    }
    1.14 -    return SDL_SYS_SetThreadPriority(thread, priority);
    1.15 +    return SDL_SYS_SetThreadPriority(priority);
    1.16  }
    1.17  
    1.18  void