mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Variable rename
This commit is contained in:
parent
73b5aff2e1
commit
db751b4241
@ -84,9 +84,9 @@ bool video_display_server_set_window_decorations(bool on)
|
|||||||
|
|
||||||
|
|
||||||
bool video_display_server_switch_resolution(unsigned width, unsigned height,
|
bool video_display_server_switch_resolution(unsigned width, unsigned height,
|
||||||
int win_hz, float hz)
|
int int_hz, float hz)
|
||||||
{
|
{
|
||||||
if (current_display_server && current_display_server->switch_resolution)
|
if (current_display_server && current_display_server->switch_resolution)
|
||||||
return current_display_server->switch_resolution(current_display_server_data, width, height, win_hz, hz);
|
return current_display_server->switch_resolution(current_display_server_data, width, height, int_hz, hz);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ typedef struct video_display_server
|
|||||||
bool (*set_window_progress)(void *data, int progress, bool finished);
|
bool (*set_window_progress)(void *data, int progress, bool finished);
|
||||||
bool (*set_window_decorations)(void *data, bool on);
|
bool (*set_window_decorations)(void *data, bool on);
|
||||||
bool (*switch_resolution)(void *data, unsigned width,
|
bool (*switch_resolution)(void *data, unsigned width,
|
||||||
unsigned height, int win_hz, float hz);
|
unsigned height, int int_hz, float hz);
|
||||||
const char *ident;
|
const char *ident;
|
||||||
} video_display_server_t;
|
} video_display_server_t;
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ bool video_display_server_set_window_decorations(bool on);
|
|||||||
|
|
||||||
bool video_display_server_switch_resolution(
|
bool video_display_server_switch_resolution(
|
||||||
unsigned width, unsigned height,
|
unsigned width, unsigned height,
|
||||||
int win_hz, float hz);
|
int int_hz, float hz);
|
||||||
|
|
||||||
extern const video_display_server_t dispserv_win32;
|
extern const video_display_server_t dispserv_win32;
|
||||||
extern const video_display_server_t dispserv_x11;
|
extern const video_display_server_t dispserv_x11;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user