wayland: Fix building without Vulkan support

This commit is contained in:
Ethan Lee committed 2021-08-03 14:57:22 -04:00
1 parent 02563f75b4
commit 124405a0bc
1 file changed
+3
+3
View File
@@ -92,6 +92,9 @@ typedef struct {
SDL_bool done;
} SDL_WaylandOutputData;
/* Needed to get wl_surface declaration, fixes GitHub#4594 */
#include "SDL_waylanddyn.h"
extern void SDL_WAYLAND_register_surface(struct wl_surface *surface);
extern void SDL_WAYLAND_register_output(struct wl_output *output);
extern SDL_bool SDL_WAYLAND_own_surface(struct wl_surface *surface);