mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Restore resolution fix
This commit is contained in:
parent
b51c8d62e7
commit
90d62fd0cc
@ -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)
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user