mirror of https://github.com/libsdl-org/SDL.git
VITA: support only fullscreen windows. Fixes #13079
This commit is contained in:
parent
4cd889cb13
commit
2b4d61e4a6
|
|
@ -147,6 +147,8 @@ static SDL_VideoDevice *VITA_Create(void)
|
||||||
|
|
||||||
device->PumpEvents = VITA_PumpEvents;
|
device->PumpEvents = VITA_PumpEvents;
|
||||||
|
|
||||||
|
device->device_caps = VIDEO_DEVICE_CAPS_FULLSCREEN_ONLY;
|
||||||
|
|
||||||
return device;
|
return device;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -77,8 +77,6 @@ extern SDL_Window *Vita_Window;
|
||||||
// Display and window functions
|
// Display and window functions
|
||||||
extern bool VITA_VideoInit(SDL_VideoDevice *_this);
|
extern bool VITA_VideoInit(SDL_VideoDevice *_this);
|
||||||
extern void VITA_VideoQuit(SDL_VideoDevice *_this);
|
extern void VITA_VideoQuit(SDL_VideoDevice *_this);
|
||||||
extern bool VITA_GetDisplayModes(SDL_VideoDevice *_this, SDL_VideoDisplay *display);
|
|
||||||
extern bool VITA_SetDisplayMode(SDL_VideoDevice *_this, SDL_VideoDisplay *display, SDL_DisplayMode *mode);
|
|
||||||
extern bool VITA_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_PropertiesID create_props);
|
extern bool VITA_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_PropertiesID create_props);
|
||||||
extern void VITA_SetWindowTitle(SDL_VideoDevice *_this, SDL_Window *window);
|
extern void VITA_SetWindowTitle(SDL_VideoDevice *_this, SDL_Window *window);
|
||||||
extern bool VITA_SetWindowPosition(SDL_VideoDevice *_this, SDL_Window *window);
|
extern bool VITA_SetWindowPosition(SDL_VideoDevice *_this, SDL_Window *window);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue