mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(X11 input) Silence warning
This commit is contained in:
parent
42a0618812
commit
e1521dd86d
@ -54,12 +54,9 @@ static void *x_input_init(const char *joypad_driver)
|
||||
{
|
||||
x11_input_t *x11;
|
||||
|
||||
/* Currently active window is not an X11 window. Cannot use this driver. */
|
||||
if (video_driver_display_type_get() != RARCH_DISPLAY_X11)
|
||||
{
|
||||
RARCH_ERR("Currently active window is not an X11 window. Cannot use this driver.\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!(x11 = (x11_input_t*)calloc(1, sizeof(*x11))))
|
||||
return NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user