mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
cogl: Fix unused variable warning with GLES2
This shader variable is only used with big GL.
This commit is contained in:
parent
5eb800656d
commit
8f6bf57dfb
@ -164,7 +164,9 @@ cogl_shader_source (CoglHandle handle,
|
|||||||
void
|
void
|
||||||
cogl_shader_compile (CoglHandle handle)
|
cogl_shader_compile (CoglHandle handle)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_COGL_GL
|
||||||
CoglShader *shader = handle;
|
CoglShader *shader = handle;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!cogl_is_shader (handle))
|
if (!cogl_is_shader (handle))
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user