From 58b5a46e0e6b263bd32808e4a9a46bbdd81eedfe Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 5 Jan 2010 17:54:45 +0000 Subject: [PATCH] Include cogl-defines.h before using GL types If we are using GL* types we should also be including cogl-defines.h, as that will include the right GL header. --- clutter/cogl/cogl/cogl-shader.h | 1 + clutter/cogl/cogl/cogl-texture.h | 1 + 2 files changed, 2 insertions(+) diff --git a/clutter/cogl/cogl/cogl-shader.h b/clutter/cogl/cogl/cogl-shader.h index 2bb082d35..4e2ccb97b 100644 --- a/clutter/cogl/cogl/cogl-shader.h +++ b/clutter/cogl/cogl/cogl-shader.h @@ -29,6 +29,7 @@ #define __COGL_SHADER_H__ #include +#include G_BEGIN_DECLS diff --git a/clutter/cogl/cogl/cogl-texture.h b/clutter/cogl/cogl/cogl-texture.h index 7859abd19..eaf3e5482 100644 --- a/clutter/cogl/cogl/cogl-texture.h +++ b/clutter/cogl/cogl/cogl-texture.h @@ -29,6 +29,7 @@ #define __COGL_TEXTURE_H__ #include +#include G_BEGIN_DECLS