Browse Source

kmsdrm: let device indexes be > 2 digits.

Ryan C. Gordon 2 years ago
parent
commit
cc982ea7a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/kmsdrm/SDL_kmsdrmvideo.c

+ 1 - 1
src/video/kmsdrm/SDL_kmsdrmvideo.c

@@ -82,7 +82,7 @@ get_driindex(void)
     hint = SDL_GetHint(SDL_HINT_KMSDRM_DEVICE_INDEX);
     if (hint) {
         const int idx = SDL_atoi(hint);
-        if ((idx >= 0) && (idx < 99)) {
+        if (idx >= 0) {
             return idx;  /* we'll take the user's request here. */
         }
     }