summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/egl/EGL
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-05 04:42:43 +0100
committerSven Gothel <[email protected]>2015-03-05 04:42:43 +0100
commit47713518e3317b2621ee7ff1bbf8223fbce7fdc4 (patch)
tree26714f86a19721bb9eb0aade9cee4bd16c67ce66 /make/stub_includes/egl/EGL
parent6b05c6919f3df20ce0b55d5ac7dda7b14068568e (diff)
Bug 1135 - Support EGL 1.5 , ES 3.1 and GL 4.5 - Part 2: Minimal patch of vanilla GL headers
New vanilla GL headers were dropped w/ commit 6b05c6919f3df20ce0b55d5ac7dda7b14068568e. - egl/EGL/eglplatform.h: 2013-10-09 +generic void pointer for EGLNative*Type - khr/KHR/khrplatform.h: 2013-09-30 +using 'our' GlueGen stdint types, hence reduced - GL/glcorearb.h: 2015-02-02 +using 'our' stdint- and platform types - GL/glext.h: 2015-02-02 +using 'our' stdint- and platform types
Diffstat (limited to 'make/stub_includes/egl/EGL')
-rw-r--r--make/stub_includes/egl/EGL/eglplatform.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/make/stub_includes/egl/EGL/eglplatform.h b/make/stub_includes/egl/EGL/eglplatform.h
index 3ab8844f0..cc52354b6 100644
--- a/make/stub_includes/egl/EGL/eglplatform.h
+++ b/make/stub_includes/egl/EGL/eglplatform.h
@@ -104,7 +104,12 @@ typedef Pixmap EGLNativePixmapType;
typedef Window EGLNativeWindowType;
#else
-#error "Platform not recognized"
+
+#warning "Info: Using generic void pointer for EGLNativeDisplayType, EGLNativeWindowType and EGLNativePixmapType"
+typedef struct __EGLNativeDisplayType* EGLNativeDisplayType;
+typedef struct __EGLNativeWindowType* EGLNativeWindowType;
+typedef struct __EGLNativePixmapType* EGLNativePixmapType;
+
#endif
/* EGL 1.2 types, renamed for consistency in EGL 1.3 */