Skip to content

Commit

Permalink
kmsdrm: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
RALOVICH, Kristof committed Jul 20, 2020
1 parent 75fe4b1 commit b78b88f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/video/kmsdrm/SDL_kmsdrmvideo.c
Expand Up @@ -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];
Expand Down Expand Up @@ -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;
}
}
Expand Down

0 comments on commit b78b88f

Please sign in to comment.