mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
wayland: Removed unused GetDisplayModes/SetDisplayMode functions
This commit is contained in:
parent
46df195b2a
commit
0f51800229
@ -58,10 +58,6 @@
|
|||||||
static int
|
static int
|
||||||
Wayland_VideoInit(_THIS);
|
Wayland_VideoInit(_THIS);
|
||||||
|
|
||||||
static void
|
|
||||||
Wayland_GetDisplayModes(_THIS, SDL_VideoDisplay *sdl_display);
|
|
||||||
static int
|
|
||||||
Wayland_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode);
|
|
||||||
static int
|
static int
|
||||||
Wayland_GetDisplayBounds(_THIS, SDL_VideoDisplay *display, SDL_Rect *rect);
|
Wayland_GetDisplayBounds(_THIS, SDL_VideoDisplay *display, SDL_Rect *rect);
|
||||||
|
|
||||||
@ -179,8 +175,6 @@ Wayland_CreateDevice(int devindex)
|
|||||||
/* Set the function pointers */
|
/* Set the function pointers */
|
||||||
device->VideoInit = Wayland_VideoInit;
|
device->VideoInit = Wayland_VideoInit;
|
||||||
device->VideoQuit = Wayland_VideoQuit;
|
device->VideoQuit = Wayland_VideoQuit;
|
||||||
device->SetDisplayMode = Wayland_SetDisplayMode;
|
|
||||||
device->GetDisplayModes = Wayland_GetDisplayModes;
|
|
||||||
device->GetDisplayBounds = Wayland_GetDisplayBounds;
|
device->GetDisplayBounds = Wayland_GetDisplayBounds;
|
||||||
device->GetWindowWMInfo = Wayland_GetWindowWMInfo;
|
device->GetWindowWMInfo = Wayland_GetWindowWMInfo;
|
||||||
device->SuspendScreenSaver = Wayland_SuspendScreenSaver;
|
device->SuspendScreenSaver = Wayland_SuspendScreenSaver;
|
||||||
@ -505,19 +499,6 @@ Wayland_VideoInit(_THIS)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
Wayland_GetDisplayModes(_THIS, SDL_VideoDisplay *sdl_display)
|
|
||||||
{
|
|
||||||
// Nothing to do here, everything was already done in the wl_output
|
|
||||||
// callbacks.
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
|
||||||
Wayland_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode)
|
|
||||||
{
|
|
||||||
return SDL_Unsupported();
|
|
||||||
}
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
Wayland_GetDisplayBounds(_THIS, SDL_VideoDisplay *display, SDL_Rect *rect)
|
Wayland_GetDisplayBounds(_THIS, SDL_VideoDisplay *display, SDL_Rect *rect)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user