Variable rename

This commit is contained in:
alphanu1 2018-04-30 17:50:13 +01:00 committed by GitHub
parent 73b5aff2e1
commit db751b4241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -84,9 +84,9 @@ bool video_display_server_set_window_decorations(bool on)
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)
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;
}

View File

@ -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 win_hz, float hz);
unsigned height, int int_hz, 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 win_hz, float hz);
int int_hz, float hz);
extern const video_display_server_t dispserv_win32;
extern const video_display_server_t dispserv_x11;