(Vulkan/GL) goto error without HAVE_EGL (#13568)

This commit is contained in:
Colin Kinloch 2022-01-29 18:56:49 +00:00 committed by GitHub
parent 60eaf14afc
commit 5bd7433ac4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);