Do conditional check before calling function
This commit is contained in:
parent
5b2c4db656
commit
42a3ec2cf7
|
@ -408,7 +408,8 @@ void input_poll(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_OVERLAY
|
#ifdef HAVE_OVERLAY
|
||||||
input_poll_overlay(overlay_ptr, settings->input.overlay_opacity);
|
if (overlay_ptr)
|
||||||
|
input_poll_overlay(overlay_ptr, settings->input.overlay_opacity);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_COMMAND
|
#ifdef HAVE_COMMAND
|
||||||
|
|
Loading…
Reference in New Issue