mirror of https://github.com/libsdl-org/SDL
kmsdrm: restrict KMSDRM_ReleaseVT/KMSDRM_AcquireVT to SDL_INPUT_LINUXEV
This commit is contained in:
parent
94ad1a4ae4
commit
86d77bbcc5
|
@ -1222,6 +1222,7 @@ cleanup:
|
|||
return ret;
|
||||
}
|
||||
|
||||
#ifdef SDL_INPUT_LINUXEV
|
||||
static void KMSDRM_ReleaseVT(void *userdata)
|
||||
{
|
||||
SDL_VideoDevice *_this = (SDL_VideoDevice *)userdata;
|
||||
|
@ -1251,6 +1252,7 @@ static void KMSDRM_AcquireVT(void *userdata)
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif /* defined SDL_INPUT_LINUXEV */
|
||||
|
||||
int KMSDRM_VideoInit(SDL_VideoDevice *_this)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue