test/testthread.c
changeset 11952 d82e6e63c632
parent 11946 eae649a13dad
child 12503 806492103856
     1.1 --- a/test/testthread.c	Mon Apr 23 21:55:59 2018 -0700
     1.2 +++ b/test/testthread.c	Mon Apr 23 22:07:56 2018 -0700
     1.3 @@ -38,6 +38,7 @@
     1.4      case SDL_THREAD_PRIORITY_LOW: return "SDL_THREAD_PRIORITY_LOW";
     1.5      case SDL_THREAD_PRIORITY_NORMAL: return "SDL_THREAD_PRIORITY_NORMAL";
     1.6      case SDL_THREAD_PRIORITY_HIGH: return "SDL_THREAD_PRIORITY_HIGH";
     1.7 +    case SDL_THREAD_PRIORITY_TIME_CRITICAL: return "SDL_THREAD_PRIORITY_TIME_CRITICAL";
     1.8      }
     1.9  
    1.10      return "???";
    1.11 @@ -56,7 +57,7 @@
    1.12  
    1.13          if (testprio) {
    1.14              SDL_Log("SDL_SetThreadPriority(%s):%d\n", getprioritystr(prio), SDL_SetThreadPriority(prio));
    1.15 -            if (++prio > SDL_THREAD_PRIORITY_HIGH)
    1.16 +            if (++prio > SDL_THREAD_PRIORITY_TIME_CRITICAL)
    1.17                  prio = SDL_THREAD_PRIORITY_LOW;
    1.18          }
    1.19