[PATCH weston] weston-egl: Allow compilation against older EGL stack

Kristian Høgsberg hoegsberg at gmail.com
Fri Mar 22 07:28:44 PDT 2013


On Fri, Mar 22, 2013 at 02:15:49PM +0000, Rob Bradford wrote:
> From: Rob Bradford <rob at linux.intel.com>
> 
> Provide a definition of EGL_BUFFER_AGE_EXT so that you can compile against an
> EGL stack that may not yet support that extension.
> ---
>  src/weston-egl-ext.h | 4 ++++
>  1 file changed, 4 insertions(+)

Thanks, committed.

Kristian

> diff --git a/src/weston-egl-ext.h b/src/weston-egl-ext.h
> index 1d4b76b..fe02368 100644
> --- a/src/weston-egl-ext.h
> +++ b/src/weston-egl-ext.h
> @@ -58,4 +58,8 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, st
>  #define EGL_TEXTURE_EXTERNAL_WL         0x31DA
>  #endif
>  
> +#ifndef EGL_BUFFER_AGE_EXT
> +#define EGL_BUFFER_AGE_EXT              0x313D
> +#endif
> +
>  #endif
> -- 
> 1.8.1.2
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list