mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 14:29:14 +08:00
kmsdrm: restrict KMSDRM_ReleaseVT/KMSDRM_AcquireVT to SDL_INPUT_LINUXEV
This commit is contained in:
@@ -1206,6 +1206,7 @@ cleanup:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SDL_INPUT_LINUXEV
|
||||||
static void KMSDRM_ReleaseVT(void *userdata)
|
static void KMSDRM_ReleaseVT(void *userdata)
|
||||||
{
|
{
|
||||||
SDL_VideoDevice *_this = (SDL_VideoDevice *)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)
|
int KMSDRM_VideoInit(_THIS)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user