wayland-egl: Define WL_EGL_PLATFORM in wayland-egl.h
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 9 Feb 2011 15:50:06 +0000 (10:50 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 9 Feb 2011 15:50:11 +0000 (10:50 -0500)
This indicates that we're using the wayland egl platform and will make
eglplatform.h typedef the native types correctly.

wayland/wayland-egl.h

index 46e2e43..d3de87c 100644 (file)
@@ -30,6 +30,8 @@ extern "C" {
 
 #include <wayland-client.h>
 
+#define WL_EGL_PLATFORM 1
+
 struct wl_egl_display;
 struct wl_egl_window;
 struct wl_egl_pixmap;