diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2009-06-29 15:40:35 +0200 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2009-06-29 15:40:35 +0200 |
commit | 7342cf377e45a3a2786059b6f5163f5179ca7ab8 (patch) | |
tree | fad2f394a3a4627d1f367e69423043da47ad05ee | |
parent | ac18739380183ff7212253e73467e49b75e58d91 (diff) | |
download | clutter-gst-7342cf377e45a3a2786059b6f5163f5179ca7ab8.tar.gz |
[videosink] Use the right unref function for CoglShader
While lightly reviewing the code, I've stumbled upon a try to unref a
CoglShader with cogl_program_unref() instead of cogl_shader_unref().
-rw-r--r-- | clutter-gst/clutter-gst-video-sink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c index 674655a..601d08c 100644 --- a/clutter-gst/clutter-gst-video-sink.c +++ b/clutter-gst/clutter-gst-video-sink.c @@ -305,7 +305,7 @@ clutter_gst_video_sink_set_glsl_shader (ClutterGstVideoSink *sink, if (priv->shader) { - cogl_program_unref (priv->shader); + cogl_shader_unref (priv->shader); priv->shader = NULL; } |