kmsdrm: only negative devindex's are not allowed

ad874536 removed an unnecessary limit as we *can* have a devindex
greater than 99, this error message does not reflect the support for
values greater than 99.
This commit is contained in:
Eric Curtin 2022-09-28 12:38:32 +01:00 committed by Ryan C. Gordon
parent 508cc225a7
commit 57b5c9107e
1 changed files with 1 additions and 1 deletions

View File

@ -236,7 +236,7 @@ KMSDRM_CreateDevice(void)
devindex = get_driindex(); devindex = get_driindex();
if (devindex < 0) { if (devindex < 0) {
SDL_SetError("devindex (%d) must be between 0 and 99.", devindex); SDL_SetError("devindex (%d) must not be negative.", devindex);
return NULL; return NULL;
} }