From 94692370d2a95b55cccee4c08887e2b4298e418c Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Thu, 12 Aug 2010 10:37:55 +0100 Subject: [PATCH] material-glsl: #include "cogl-shader-private.h" We need to include cogl-shader-private.h to have the COGL_SHADER_TYPE_GLSL define. When building for opengl this wasn't noticed probably because some other header indirectly includes this file. It was a problem when building for gles2 though. --- clutter/cogl/cogl/cogl-material-glsl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clutter/cogl/cogl/cogl-material-glsl.c b/clutter/cogl/cogl/cogl-material-glsl.c index ac0124e5d..c41fd6830 100644 --- a/clutter/cogl/cogl/cogl-material-glsl.c +++ b/clutter/cogl/cogl/cogl-material-glsl.c @@ -30,6 +30,7 @@ #endif #include "cogl-material-private.h" +#include "cogl-shader-private.h" #ifdef COGL_MATERIAL_BACKEND_GLSL