[PATCH simple-egl] fix compile error when EGL_BUFFER_AGE_EXT is missing

Kristian Høgsberg hoegsberg at gmail.com
Mon Aug 12 16:27:30 PDT 2013


On Mon, Aug 12, 2013 at 04:30:11PM +0300, Adrian Negreanu wrote:
> From: Adrian Negreanu <adrian.m.negreanu at intel.com>
> 
> Signed-off-by: Adrian Negreanu <adrian.m.negreanu at intel.com>

Thanks, applied.

Kristian

> ---
>  clients/simple-egl.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/clients/simple-egl.c b/clients/simple-egl.c
> index 54dfe93..4eeba02 100644
> --- a/clients/simple-egl.c
> +++ b/clients/simple-egl.c
> @@ -38,6 +38,8 @@
>  #include <EGL/egl.h>
>  #include <EGL/eglext.h>
>  
> +#include <src/weston-egl-ext.h>
> +
>  #ifndef EGL_EXT_swap_buffers_with_damage
>  #define EGL_EXT_swap_buffers_with_damage 1
>  typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)(EGLDisplay dpy, EGLSurface surface, EGLint *rects, EGLint n_rects);
> -- 
> 1.8.0
> 
> _______________________________________________
> 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