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:
parent
8d80a88e14
commit
13e7260868
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user