From 90d62fd0ccd868a790853b4508dddab3bc78de9d Mon Sep 17 00:00:00 2001 From: alphanu1 <37101891+alphanu1@users.noreply.github.com> Date: Sat, 28 Apr 2018 20:53:39 +0100 Subject: [PATCH] Restore resolution fix --- gfx/video_display_server.c | 9 --------- gfx/video_display_server.h | 4 ---- 2 files changed, 13 deletions(-) diff --git a/gfx/video_display_server.c b/gfx/video_display_server.c index 1229720896..7d73579574 100644 --- a/gfx/video_display_server.c +++ b/gfx/video_display_server.c @@ -82,15 +82,6 @@ bool video_display_server_set_window_decorations(bool on) return false; } -bool video_display_server_get_current_resolution(unsigned *width, unsigned *height) -{ - if (current_display_server && current_display_server->get_current_resolution) - { - current_display_server->get_current_resolution(width, height); - return true; - } - return false; -} bool video_display_server_switch_resolution(unsigned width, unsigned height, int f_restore, int hz) diff --git a/gfx/video_display_server.h b/gfx/video_display_server.h index 5e2fda7c77..365223b30a 100644 --- a/gfx/video_display_server.h +++ b/gfx/video_display_server.h @@ -30,7 +30,6 @@ typedef struct video_display_server bool (*set_window_opacity)(void *data, unsigned opacity); bool (*set_window_progress)(void *data, int progress, bool finished); bool (*set_window_decorations)(void *data, bool on); - void (*get_current_resolution)(unsigned *width, unsigned *height); bool (*switch_resolution)(void *data, unsigned width, unsigned height, int f_restore, int hz); const char *ident; @@ -44,9 +43,6 @@ bool video_display_server_set_window_opacity(unsigned opacity); bool video_display_server_set_window_progress(int progress, bool finished); -bool video_display_server_get_current_resolution( - unsigned *width, unsigned *height); - bool video_display_server_set_window_decorations(bool on); bool video_display_server_switch_resolution(