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.
This commit is contained in:
Robert Bragg 2010-08-12 10:37:55 +01:00
parent a26119b551
commit 94692370d2

View File

@ -30,6 +30,7 @@
#endif #endif
#include "cogl-material-private.h" #include "cogl-material-private.h"
#include "cogl-shader-private.h"
#ifdef COGL_MATERIAL_BACKEND_GLSL #ifdef COGL_MATERIAL_BACKEND_GLSL