mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
Fix a warning when building without GLES2 support
Since commit 2701b93f cogl-pipeline-opengl.c always has code which calls _cogl_pipeline_progend_glsl_get_attrib_location but the header declaring this function was only included if GLES2 support was enabled. This was making it give an annoying warning so let's just unconditionally include it. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 34143bc6f1239c9cb22ba613521ba9ee7ec7059a)
This commit is contained in:
parent
bf8a1b1eda
commit
2e77c039c9
@ -37,10 +37,7 @@
|
||||
#include "cogl-framebuffer-private.h"
|
||||
#include "cogl-offscreen.h"
|
||||
|
||||
/* This is needed to set the color attribute on GLES2 */
|
||||
#ifdef HAVE_COGL_GLES2
|
||||
#include "cogl-pipeline-progend-glsl-private.h"
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
|
Loading…
Reference in New Issue
Block a user