Move weston-egl-ext.h include to gles2-renderer.c
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Sun, 24 Feb 2013 03:22:50 +0000 (19:22 -0800)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 25 Feb 2013 17:18:59 +0000 (12:18 -0500)
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

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
src/compositor.h
src/gles2-renderer.c

index 4b77abd..740009c 100644 (file)
@@ -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])
 
index 544cc15..179d592 100644 (file)
@@ -29,6 +29,7 @@
 #include <assert.h>
 
 #include "compositor.h"
+#include "weston-egl-ext.h"
 
 static const char *
 egl_error_string(EGLint code)