From 52dd762405a38a00809d1b08bac00dec829f4538 Mon Sep 17 00:00:00 2001 From: Elias Naur Date: Mon, 2 Sep 2019 15:11:20 +0200 Subject: [PATCH] ui/app: (wayland) define WL_EGL_PLATFORM=1 to force EGL in Wayland mode Including wayland-egl.h will also set WL_EGL_PLATFORM, but generic egl code in egl_linux.go cannot do that. For gio#35 Signed-off-by: Elias Naur --- ui/app/egl_wayland.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/app/egl_wayland.go b/ui/app/egl_wayland.go index 8f616b10..d8fc4a5c 100644 --- a/ui/app/egl_wayland.go +++ b/ui/app/egl_wayland.go @@ -11,6 +11,7 @@ import ( /* #cgo LDFLAGS: -lwayland-egl +#cgo CFLAGS: -DWL_EGL_PLATFORM #include #include