Index: include/EGL/eglplatform.h |
=================================================================== |
--- include/EGL/eglplatform.h (revision 207200) |
+++ include/EGL/eglplatform.h (working copy) |
@@ -124,7 +124,20 @@ |
#endif /* MESA_EGL_NO_X11_HEADERS */ |
+#elif defined(__APPLE__) |
+ |
+// TODO(gman): these are place holders. |
+typedef void *EGLNativeDisplayType; |
+typedef int EGLNativePixmapType; |
+#ifdef __OBJC__ |
+@class NSView; |
+typedef NSView *EGLNativeWindowType; |
#else |
+struct NSView; |
+typedef struct NSView *EGLNativeWindowType; |
+#endif // __OBJC__ |
+ |
+#else |
#error "Platform not recognized" |
#endif |