52dd762405a38a00809d1b08bac00dec829f4538 — Elias Naur 2 months ago dc62058
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 <mail@eliasnaur.com>
1 files changed, 1 insertions(+), 0 deletions(-)

M ui/app/egl_wayland.go
M ui/app/egl_wayland.go => ui/app/egl_wayland.go +1 -0
@@ 11,6 11,7 @@ import (
 
 /*
 #cgo LDFLAGS: -lwayland-egl
+#cgo CFLAGS: -DWL_EGL_PLATFORM
 
 #include <wayland-client.h>
 #include <wayland-egl.h>