From 47713518e3317b2621ee7ff1bbf8223fbce7fdc4 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 5 Mar 2015 04:42:43 +0100 Subject: 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 --- make/stub_includes/egl/EGL/eglplatform.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'make/stub_includes/egl') 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 */ -- cgit v1.2.3