[clutter/clutter-1.12] EGL: Include cogl-egl.h for prototypes



commit 2b876abea7b4d03447ca822464255b5b025462fe
Author: Daniel Stone <daniel fooishbar org>
Date:   Thu Aug 23 14:16:16 2012 +0200

    EGL: Include cogl-egl.h for prototypes
    
    Looks like we need to include this directly, but also need to include
    cogl/cogl.h to get COGL_HAS_EGL_SUPPORT, since cogl-egl.h doesn't
    include cogl-defines.h first.
    
    Signed-off-by: Daniel Stone <daniel fooishbar org>
    (cherry picked from commit a158d66abb76315277f171ef3ba656b08cc257a4)
    
    Signed-off-by: Emmanuele Bassi <ebassi gnome org>

 clutter/egl/clutter-backend-eglnative.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/clutter/egl/clutter-backend-eglnative.h b/clutter/egl/clutter-backend-eglnative.h
index 7c30d4a..4178f3c 100644
--- a/clutter/egl/clutter-backend-eglnative.h
+++ b/clutter/egl/clutter-backend-eglnative.h
@@ -27,6 +27,8 @@
 #define __CLUTTER_BACKEND_EGL_NATIVE_H__
 
 #include <glib-object.h>
+#include <cogl/cogl.h>
+#include <cogl/cogl-egl.h>
 #include <clutter/clutter-event.h>
 #include <clutter/clutter-backend.h>
 #include <clutter/clutter-device-manager.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]