summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2010-03-25 17:41:08 +0000
committerDamien Lespiau <damien.lespiau@intel.com>2010-03-25 17:41:08 +0000
commit2c8760b78fabf496cfca2cd903d98c0b9cd7ac08 (patch)
treec65a70c43263d03c3bbd60520445968d821bc097
parenta9a5eac525b8f0365ac392c825d61eba913c9b2e (diff)
downloadclutter-gst-2c8760b78fabf496cfca2cd903d98c0b9cd7ac08.tar.gz
misc: Fix more deprecated Cogl symbols
clutter_shader_ref/unref() were forgotten in the last batch of deprecated symbols and cogl_check_extensions() had to die.
-rw-r--r--clutter-gst/clutter-gst-video-sink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clutter-gst/clutter-gst-video-sink.c b/clutter-gst/clutter-gst-video-sink.c
index 86625fb..3738011 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -453,7 +453,7 @@ clutter_gst_video_sink_set_glsl_shader (ClutterGstVideoSink *sink,
if (priv->shader)
{
- cogl_shader_unref (priv->shader);
+ cogl_handle_unref (priv->shader);
priv->shader = NULL;
}
@@ -939,7 +939,7 @@ clutter_gst_build_renderers_list (ClutterGstSymbols *syms)
features |= CLUTTER_GST_MULTI_TEXTURE;
#ifdef CLUTTER_COGL_HAS_GL
- if (cogl_check_extension ("GL_ARB_fragment_program", gl_extensions))
+ if (strstr (gl_extensions, "GL_ARB_fragment_program") != NULL)
{
/* the shaders we'll feed to the GPU are simple enough, we don't need
* to check GL limits for GL_FRAGMENT_PROGRAM_ARB */