[PATCH weston-1.0] Move weston-egl-ext.h include to gles2-renderer.c

Kristian Høgsberg hoegsberg at gmail.com
Mon Feb 25 09:21:40 PST 2013


On Sat, Feb 23, 2013 at 07:22:50PM -0800, U. Artie Eoff wrote:
> From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>
> 
> The weston-egl-ext.h include in compositor.h is not needed.  Rather,
> it is only needed by gles2-renderer.c.  This also fixes external
> module compile error since weston-egl-ext.h is not part of the
> Weston SDK:
> 
> weston/compositor.h:39:28: fatal error: weston-egl-ext.h:
> 	No such file or directory

Nice, that's better than installing weston-egl-ext.h.  Committed.

Kristian

> Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
> ---
>  src/compositor.h     | 1 -
>  src/gles2-renderer.c | 1 +
>  2 files changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/compositor.h b/src/compositor.h
> index 4b77abd..740009c 100644
> --- a/src/compositor.h
> +++ b/src/compositor.h
> @@ -36,7 +36,6 @@
>  #include "version.h"
>  #include "matrix.h"
>  #include "config-parser.h"
> -#include "weston-egl-ext.h"
>  
>  #define ARRAY_LENGTH(a) (sizeof (a) / sizeof (a)[0])
>  
> diff --git a/src/gles2-renderer.c b/src/gles2-renderer.c
> index 544cc15..179d592 100644
> --- a/src/gles2-renderer.c
> +++ b/src/gles2-renderer.c
> @@ -29,6 +29,7 @@
>  #include <assert.h>
>  
>  #include "compositor.h"
> +#include "weston-egl-ext.h"
>  
>  static const char *
>  egl_error_string(EGLint code)
> -- 
> 1.7.11.7
> 
> _______________________________________________
> 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