mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanups
This commit is contained in:
parent
d327863d0f
commit
f35b5924e1
@ -601,16 +601,11 @@ static inline void input_poll_overlay(input_overlay_t *overlay_device, float opa
|
||||
**/
|
||||
static void input_poll(void)
|
||||
{
|
||||
#ifdef HAVE_OVERLAY
|
||||
float opacity = g_settings.input.overlay_opacity;
|
||||
if (driver.osk_active)
|
||||
opacity = g_settings.osk.opacity;
|
||||
#endif
|
||||
driver.input->poll(driver.input_data);
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
if (driver.overlay)
|
||||
input_poll_overlay(driver.overlay, opacity);
|
||||
input_poll_overlay(driver.overlay, g_settings.input.overlay_opacity);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_COMMAND
|
||||
|
Loading…
x
Reference in New Issue
Block a user