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
a26119b551
commit
94692370d2
@ -30,6 +30,7 @@
|
||||
#endif
|
||||
|
||||
#include "cogl-material-private.h"
|
||||
#include "cogl-shader-private.h"
|
||||
|
||||
#ifdef COGL_MATERIAL_BACKEND_GLSL
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user