From 5bd7433ac41639ed5e827d3b819ea9c0c0fb8e76 Mon Sep 17 00:00:00 2001 From: Colin Kinloch Date: Sat, 29 Jan 2022 18:56:49 +0000 Subject: [PATCH] (Vulkan/GL) goto error without HAVE_EGL (#13568) --- gfx/drivers_context/wayland_ctx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gfx/drivers_context/wayland_ctx.c b/gfx/drivers_context/wayland_ctx.c index 8fbbd83d30..6e4a5b4315 100644 --- a/gfx/drivers_context/wayland_ctx.c +++ b/gfx/drivers_context/wayland_ctx.c @@ -803,11 +803,9 @@ static bool gfx_ctx_wl_set_video_mode(void *data, return true; -#if defined(HAVE_EGL) error: gfx_ctx_wl_destroy(data); return false; -#endif } bool input_wl_init(void *data, const char *joypad_name);