projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad55ed
)
cogl: Fix unused variable warning with GLES2
author
Damien Lespiau
<damien.lespiau@intel.com>
Tue, 30 Nov 2010 16:03:26 +0000
(16:03 +0000)
committer
Damien Lespiau
<damien.lespiau@intel.com>
Tue, 30 Nov 2010 16:03:26 +0000
(16:03 +0000)
This shader variable is only used with big GL.
clutter/cogl/cogl/cogl-shader.c
patch
|
blob
|
history
diff --git
a/clutter/cogl/cogl/cogl-shader.c
b/clutter/cogl/cogl/cogl-shader.c
index
668b6ad
..
15f926d
100644
(file)
--- a/
clutter/cogl/cogl/cogl-shader.c
+++ b/
clutter/cogl/cogl/cogl-shader.c
@@
-164,7
+164,9
@@
cogl_shader_source (CoglHandle handle,
void
cogl_shader_compile (CoglHandle handle)
{
+#ifdef HAVE_COGL_GL
CoglShader *shader = handle;
+#endif
if (!cogl_is_shader (handle))
return;