mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-22 10:01:46 +00:00
Fix compilation error
This commit is contained in:
parent
12bf74eb32
commit
0a7060ac17
2 changed files with 4 additions and 2 deletions
|
|
@ -49,7 +49,8 @@ static void sleep_ms(int milliseconds) { // cross-platform sleep function
|
|||
static void gfx_dummy_wm_init(UNUSED const char *game_name) {
|
||||
}
|
||||
|
||||
static void gfx_dummy_wm_set_keyboard_callbacks(UNUSED kb_callback_t on_key_down, UNUSED kb_callback_t on_key_up, UNUSED void (*on_all_keys_up)(void), UNUSED void (*on_text_input)(char*)) {
|
||||
static void gfx_dummy_wm_set_keyboard_callbacks(UNUSED kb_callback_t on_key_down, UNUSED kb_callback_t on_key_up, UNUSED void (*on_all_keys_up)(void),
|
||||
UNUSED void (*on_text_input)(char*), UNUSED void (*on_text_editing)(char*, int)) {
|
||||
}
|
||||
|
||||
static void gfx_dummy_wm_set_fullscreen_changed_callback(UNUSED void (*on_fullscreen_changed)(bool is_now_fullscreen)) {
|
||||
|
|
|
|||
|
|
@ -417,7 +417,8 @@ static void gfx_dxgi_init(const char *window_title) {
|
|||
update_screen_settings();
|
||||
}
|
||||
|
||||
static void gfx_dxgi_set_keyboard_callbacks(bool (*on_key_down)(int scancode), bool (*on_key_up)(int scancode), void (*on_all_keys_up)(void), void (*on_text_input)(char*)) {
|
||||
static void gfx_dxgi_set_keyboard_callbacks(bool (*on_key_down)(int scancode), bool (*on_key_up)(int scancode), void (*on_all_keys_up)(void),
|
||||
void (*on_text_input)(char*), UNUSED void (*on_text_editing)(char*, int)) {
|
||||
dxgi.on_key_down = on_key_down;
|
||||
dxgi.on_key_up = on_key_up;
|
||||
dxgi.on_all_keys_up = on_all_keys_up;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue