kmsdrm: fix typo

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/"
static int
check_modestting(int devindex)
check_modesetting(int devindex)
{
SDL_bool available = SDL_FALSE;
char device[512];
@ -120,7 +120,7 @@ get_driindex(void)
int i;
for (i = 0; i < devcount; i++) {
if (check_modestting(i)) {
if (check_modesetting(i)) {
return i;
}
}