mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-31 05:56:07 +00:00
Linux switching incorporation
This commit is contained in:
parent
8aa4d52367
commit
0498ab6b86
@ -84,7 +84,7 @@ bool video_display_server_set_window_decorations(bool on)
|
||||
|
||||
|
||||
bool video_display_server_switch_resolution(unsigned width, unsigned height,
|
||||
int f_restore, int hz)
|
||||
int f_restore, float hz)
|
||||
{
|
||||
if (current_display_server && current_display_server->switch_resolution)
|
||||
return current_display_server->switch_resolution(current_display_server_data, width, height, f_restore, hz);
|
||||
|
@ -31,7 +31,7 @@ typedef struct video_display_server
|
||||
bool (*set_window_progress)(void *data, int progress, bool finished);
|
||||
bool (*set_window_decorations)(void *data, bool on);
|
||||
bool (*switch_resolution)(void *data, unsigned width,
|
||||
unsigned height, int f_restore, int hz);
|
||||
unsigned height, int f_restore, float hz);
|
||||
const char *ident;
|
||||
} video_display_server_t;
|
||||
|
||||
@ -47,7 +47,7 @@ bool video_display_server_set_window_decorations(bool on);
|
||||
|
||||
bool video_display_server_switch_resolution(
|
||||
unsigned width, unsigned height,
|
||||
int f_restore, int hz);
|
||||
int f_restore, float hz);
|
||||
|
||||
extern const video_display_server_t dispserv_win32;
|
||||
extern const video_display_server_t dispserv_x11;
|
||||
|
Loading…
x
Reference in New Issue
Block a user