src/video/SDL_video.c
changeset 11175 cbc6a8a5b701
parent 11171 6f6e8880cd37
child 11183 2b3b51f36654
     1.1 --- a/src/video/SDL_video.c	Mon Jul 31 13:49:22 2017 -0400
     1.2 +++ b/src/video/SDL_video.c	Wed Aug 02 10:22:48 2017 -0700
     1.3 @@ -105,6 +105,9 @@
     1.4  #if SDL_VIDEO_DRIVER_RPI
     1.5      &RPI_bootstrap,
     1.6  #endif 
     1.7 +#if SDL_VIDEO_DRIVER_KMSDRM
     1.8 +    &KMSDRM_bootstrap,
     1.9 +#endif
    1.10  #if SDL_VIDEO_DRIVER_NACL
    1.11      &NACL_bootstrap,
    1.12  #endif
    1.13 @@ -2892,7 +2895,7 @@
    1.14              break;
    1.15  
    1.16          terminator = where + SDL_strlen(extension);
    1.17 -        if (where == start || *(where - 1) == ' ')
    1.18 +        if (where == extensions || *(where - 1) == ' ')
    1.19              if (*terminator == ' ' || *terminator == '\0')
    1.20                  return SDL_TRUE;
    1.21