app/internal/window: work around missing MESA_EGL_NO_X11_HEADERS support

Some versions of eglplatform.h don't support the MESA_EGL_NO_X11_HEADER
define for cross-platform definitions of the EGL types. Remove the
define and use an explicit cast instead.

Fixes gio#46

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-26 11:34:44 +02:00
parent 88adc0ee1a
commit fff9293c9b
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -4,7 +4,6 @@ package window
/*
#cgo LDFLAGS: -lEGL
#cgo CFLAGS: -DMESA_EGL_NO_X11_HEADERS
#include <EGL/egl.h>
#include <EGL/eglext.h>