mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-22 21:35:30 +00:00
kmsdrm: restrict KMSDRM_ReleaseVT/KMSDRM_AcquireVT to SDL_INPUT_LINUXEV
This commit is contained in:
parent
dcd21d042f
commit
59b0a2d711
|
@ -1206,6 +1206,7 @@ cleanup:
|
|||
return ret;
|
||||
}
|
||||
|
||||
#ifdef SDL_INPUT_LINUXEV
|
||||
static void KMSDRM_ReleaseVT(void *userdata)
|
||||
{
|
||||
SDL_VideoDevice *_this = (SDL_VideoDevice *)userdata;
|
||||
|
@ -1235,6 +1236,7 @@ static void KMSDRM_AcquireVT(void *userdata)
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif /* defined SDL_INPUT_LINUXEV */
|
||||
|
||||
int KMSDRM_VideoInit(_THIS)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue