mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
kmsdrm: fix typo
This commit is contained in:
parent
75fe4b14e3
commit
b78b88f7fb
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user