From 932a9e16abccfd409f14f6fa8977923a9fdcacdb 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. --- cogl/cogl-shader.h | 1 + cogl/cogl-texture.h | 1 + 2 files changed, 2 insertions(+) diff --git a/cogl/cogl-shader.h b/cogl/cogl-shader.h index 2bb082d35..4e2ccb97b 100644 --- a/cogl/cogl-shader.h +++ b/cogl/cogl-shader.h @@ -29,6 +29,7 @@ #define __COGL_SHADER_H__ #include +#include G_BEGIN_DECLS diff --git a/cogl/cogl-texture.h b/cogl/cogl-texture.h index 7859abd19..eaf3e5482 100644 --- a/cogl/cogl-texture.h +++ b/cogl/cogl-texture.h @@ -29,6 +29,7 @@ #define __COGL_TEXTURE_H__ #include +#include G_BEGIN_DECLS