kmsdrm: fix typo

This commit is contained in:
RALOVICH, Kristof 2020-07-19 21:46:41 -04:00
parent 75fe4b14e3
commit b78b88f7fb
1 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@
#define KMSDRM_DRI_PATH "/dev/dri/" #define KMSDRM_DRI_PATH "/dev/dri/"
static int static int
check_modestting(int devindex) check_modesetting(int devindex)
{ {
SDL_bool available = SDL_FALSE; SDL_bool available = SDL_FALSE;
char device[512]; char device[512];
@ -120,7 +120,7 @@ get_driindex(void)
int i; int i;
for (i = 0; i < devcount; i++) { for (i = 0; i < devcount; i++) {
if (check_modestting(i)) { if (check_modesetting(i)) {
return i; return i;
} }
} }