From f7212fd20236827c0fca8b5c76486e60de2db535 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 4 Nov 2010 19:45:52 +0100 Subject: Adding patches for gluegen interoperability and adding some extensions: - eglplatform.h: if platform not recognized, use 'void pointer' for EGLNativeDisplayType, EGLNativeWindowType and EGLNativePixmapType - egl.h: adding ifndef core extension for gluegen and eglGetProcAddress - eglext.h: adding EGL_NV_texture_rectangle, EGL_NV_system_time, EGL_NV_omx_il_sink, EGL_RMSURFACE_NV --- make/stub_includes/egl/EGL/eglplatform.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'make/stub_includes/egl/EGL/eglplatform.h') diff --git a/make/stub_includes/egl/EGL/eglplatform.h b/make/stub_includes/egl/EGL/eglplatform.h index 6d34ab55d..ada816521 100644 --- a/make/stub_includes/egl/EGL/eglplatform.h +++ b/make/stub_includes/egl/EGL/eglplatform.h @@ -94,7 +94,13 @@ typedef Pixmap EGLNativePixmapType; typedef Window EGLNativeWindowType; #else -#error "Platform not recognized" + +#warning "Info: Platform not recognized, using void pointer for EGLNativeDisplayType, EGLNativeWindowType and EGLNativePixmapType" + +typedef void* EGLNativeDisplayType; +typedef void* EGLNativeWindowType; +typedef void* EGLNativePixmapType; + #endif /* EGL 1.2 types, renamed for consistency in EGL 1.3 */ -- cgit v1.2.3