Update video api to 2.0.14

This commit is contained in:
Ivan Epifanov 2020-12-23 17:27:01 +03:00 committed by Sam Lantinga
parent 7b0b1a12fa
commit a7269a9ad3

View File

@ -44,12 +44,6 @@
SDL_Window *Vita_Window; SDL_Window *Vita_Window;
static int
VITA_Available(void)
{
return 1;
}
static void static void
VITA_Destroy(SDL_VideoDevice * device) VITA_Destroy(SDL_VideoDevice * device)
{ {
@ -152,7 +146,6 @@ VITA_Create()
VideoBootStrap VITA_bootstrap = { VideoBootStrap VITA_bootstrap = {
"VITA", "VITA",
"VITA Video Driver", "VITA Video Driver",
VITA_Available,
VITA_Create VITA_Create
}; };
@ -181,7 +174,7 @@ VITA_VideoInit(_THIS)
display.current_mode = current_mode; display.current_mode = current_mode;
display.driverdata = NULL; display.driverdata = NULL;
SDL_AddVideoDisplay(&display); SDL_AddVideoDisplay(&display, SDL_FALSE);
VITA_InitTouch(); VITA_InitTouch();
VITA_InitKeyboard(); VITA_InitKeyboard();
VITA_InitMouse(); VITA_InitMouse();