Browse Source

VITA: support only fullscreen windows. Fixes #13079

Ivan Epifanov 2 months ago
parent
commit
2b4d61e4a6
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

@@ -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;
 }
 }
 
 

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

@@ -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);