input_overlay.c - cleanups
This commit is contained in:
parent
0ec6ef75df
commit
8d8fab60f9
|
@ -470,18 +470,6 @@ void input_overlay_next(input_overlay_t *ol, float opacity)
|
|||
ol->next_index = (ol->index + 1) % ol->size;
|
||||
}
|
||||
|
||||
/**
|
||||
* input_overlay_full_screen:
|
||||
*
|
||||
* Checks if the overlay is fullscreen.
|
||||
*
|
||||
* Returns: true (1) if overlay is fullscreen, otherwise false (0).
|
||||
**/
|
||||
static bool input_overlay_full_screen(input_overlay_t *ol)
|
||||
{
|
||||
return ol->active->full_screen;
|
||||
}
|
||||
|
||||
/**
|
||||
* input_overlay_free:
|
||||
* @ol : Overlay handle.
|
||||
|
@ -613,7 +601,7 @@ void input_poll_overlay(input_overlay_t *ol, float opacity)
|
|||
sizeof(ol_state->keys));
|
||||
memset(ol_state, 0, sizeof(*ol_state));
|
||||
|
||||
device = input_overlay_full_screen(ol) ?
|
||||
device = ol->active->full_screen ?
|
||||
RARCH_DEVICE_POINTER_SCREEN : RETRO_DEVICE_POINTER;
|
||||
|
||||
for (i = 0;
|
||||
|
|
Loading…
Reference in New Issue