Browse Source

VITA: support only fullscreen windows. Fixes #13079

(cherry picked from commit 2b4d61e4a6224d9fd70f5fb8d3d901558d8fe213)
Ivan Epifanov 2 months ago
parent
commit
6cd35f5b72
2 changed files with 2 additions and 2 deletions
  1. 2 0
      src/video/vita/SDL_vitavideo.c
  2. 0 2
      src/video/vita/SDL_vitavideo.h

+ 2 - 0
src/video/vita/SDL_vitavideo.c

@@ -153,6 +153,8 @@ static SDL_VideoDevice *VITA_Create(void)
 
     device->PumpEvents = VITA_PumpEvents;
 
+    device->device_caps = VIDEO_DEVICE_CAPS_FULLSCREEN_ONLY;
+
     return device;
 }
 

+ 0 - 2
src/video/vita/SDL_vitavideo.h

@@ -60,8 +60,6 @@ extern SDL_Window *Vita_Window;
 // Display and window functions
 extern bool VITA_VideoInit(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 void VITA_SetWindowTitle(SDL_VideoDevice *_this, SDL_Window *window);
 extern bool VITA_SetWindowPosition(SDL_VideoDevice *_this, SDL_Window *window);