mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-06 11:28:15 +00:00
kmsdrm: restrict KMSDRM_ReleaseVT/KMSDRM_AcquireVT to SDL_INPUT_LINUXEV
This commit is contained in:
@@ -1222,6 +1222,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;
|
||||||
@@ -1251,6 +1252,7 @@ static void KMSDRM_AcquireVT(void *userdata)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* defined SDL_INPUT_LINUXEV */
|
||||||
|
|
||||||
int KMSDRM_VideoInit(SDL_VideoDevice *_this)
|
int KMSDRM_VideoInit(SDL_VideoDevice *_this)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user