Skip to content

Commit 2b4d61e

Browse files
isageslouken
authored andcommitted
VITA: support only fullscreen windows. Fixes #13079
1 parent 4cd889c commit 2b4d61e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/video/vita/SDL_vitavideo.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ static SDL_VideoDevice *VITA_Create(void)
147147

148148
device->PumpEvents = VITA_PumpEvents;
149149

150+
device->device_caps = VIDEO_DEVICE_CAPS_FULLSCREEN_ONLY;
151+
150152
return device;
151153
}
152154

src/video/vita/SDL_vitavideo.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ extern SDL_Window *Vita_Window;
7777
// Display and window functions
7878
extern bool VITA_VideoInit(SDL_VideoDevice *_this);
7979
extern void VITA_VideoQuit(SDL_VideoDevice *_this);
80-
extern bool VITA_GetDisplayModes(SDL_VideoDevice *_this, SDL_VideoDisplay *display);
81-
extern bool VITA_SetDisplayMode(SDL_VideoDevice *_this, SDL_VideoDisplay *display, SDL_DisplayMode *mode);
8280
extern bool VITA_CreateWindow(SDL_VideoDevice *_this, SDL_Window *window, SDL_PropertiesID create_props);
8381
extern void VITA_SetWindowTitle(SDL_VideoDevice *_this, SDL_Window *window);
8482
extern bool VITA_SetWindowPosition(SDL_VideoDevice *_this, SDL_Window *window);

0 commit comments

Comments
 (0)