Merge pull request #45 from 1ace/mesa-upstream/gbm
Add gbm (generic/graphics buffer manager)
diff --git a/api/EGL/eglplatform.h b/api/EGL/eglplatform.h
index 5e1fec4..cee1471 100644
--- a/api/EGL/eglplatform.h
+++ b/api/EGL/eglplatform.h
@@ -89,6 +89,12 @@
typedef struct wl_egl_pixmap *EGLNativePixmapType;
typedef struct wl_egl_window *EGLNativeWindowType;
+#elif defined(__GBM__)
+
+typedef struct gbm_device *EGLNativeDisplayType;
+typedef struct gbm_bo *EGLNativePixmapType;
+typedef void *EGLNativeWindowType;
+
#elif defined(__ANDROID__) || defined(ANDROID)
struct ANativeWindow;