src/video/SDL_video.c
changeset 11175 cbc6a8a5b701
parent 11171 6f6e8880cd37
child 11183 2b3b51f36654
equal deleted inserted replaced
11174:3767cdd2d64b 11175:cbc6a8a5b701
   103     &PSP_bootstrap,
   103     &PSP_bootstrap,
   104 #endif
   104 #endif
   105 #if SDL_VIDEO_DRIVER_RPI
   105 #if SDL_VIDEO_DRIVER_RPI
   106     &RPI_bootstrap,
   106     &RPI_bootstrap,
   107 #endif 
   107 #endif 
       
   108 #if SDL_VIDEO_DRIVER_KMSDRM
       
   109     &KMSDRM_bootstrap,
       
   110 #endif
   108 #if SDL_VIDEO_DRIVER_NACL
   111 #if SDL_VIDEO_DRIVER_NACL
   109     &NACL_bootstrap,
   112     &NACL_bootstrap,
   110 #endif
   113 #endif
   111 #if SDL_VIDEO_DRIVER_EMSCRIPTEN
   114 #if SDL_VIDEO_DRIVER_EMSCRIPTEN
   112     &Emscripten_bootstrap,
   115     &Emscripten_bootstrap,
  2890         where = SDL_strstr(start, extension);
  2893         where = SDL_strstr(start, extension);
  2891         if (!where)
  2894         if (!where)
  2892             break;
  2895             break;
  2893 
  2896 
  2894         terminator = where + SDL_strlen(extension);
  2897         terminator = where + SDL_strlen(extension);
  2895         if (where == start || *(where - 1) == ' ')
  2898         if (where == extensions || *(where - 1) == ' ')
  2896             if (*terminator == ' ' || *terminator == '\0')
  2899             if (*terminator == ' ' || *terminator == '\0')
  2897                 return SDL_TRUE;
  2900                 return SDL_TRUE;
  2898 
  2901 
  2899         start = terminator;
  2902         start = terminator;
  2900     }
  2903     }