(Wayland) Silence warning

This commit is contained in:
twinaphex 2020-01-15 08:47:59 +01:00
parent 1521be8acb
commit d48d4385d9

View File

@ -1687,9 +1687,11 @@ static bool gfx_ctx_wl_set_video_mode(void *data,
return true; return true;
#if defined(HAVE_EGL) || defined(HAVE_VULKAN)
error: error:
gfx_ctx_wl_destroy(data); gfx_ctx_wl_destroy(data);
return false; return false;
#endif
} }
bool input_wl_init(void *data, const char *joypad_name); bool input_wl_init(void *data, const char *joypad_name);