diff options
author | Matthew Waters <ystreet00@gmail.com> | 2012-12-06 18:40:26 +1100 |
---|---|---|
committer | Matthew Waters <ystreet00@gmail.com> | 2014-03-15 18:36:51 +0100 |
commit | cc8e54541b8cb9fab64b1f42bd8a2b061131e4e6 (patch) | |
tree | fc0354a1d1cf855cfceebbb77b7cc4c19b7aafe4 /gst/gl/effects/gstgleffectstretch.c | |
parent | bbd3b4dbd9c5f61e1c1acf4592be4d4d57eb4069 (diff) | |
download | gstreamer-plugins-bad-cc8e54541b8cb9fab64b1f42bd8a2b061131e4e6.tar.gz |
[624/906] OPENGL_ES2 => HAVE_GLES2 and add HAVE_OPENGL
use GstGLAPI to determine which code paths to execute.
perform some cleanups
Diffstat (limited to 'gst/gl/effects/gstgleffectstretch.c')
-rw-r--r-- | gst/gl/effects/gstgleffectstretch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gl/effects/gstgleffectstretch.c b/gst/gl/effects/gstgleffectstretch.c index 749ad67c7..9f628c4ec 100644 --- a/gst/gl/effects/gstgleffectstretch.c +++ b/gst/gl/effects/gstgleffectstretch.c @@ -31,7 +31,7 @@ gst_gl_effects_stretch_callback (gint width, gint height, guint texture, shader = g_hash_table_lookup (effects->shaderstable, "stretch0"); if (!shader) { - shader = gst_gl_shader_new (); + shader = gst_gl_shader_new (GST_GL_FILTER (effects)->display); g_hash_table_insert (effects->shaderstable, "stretch0", shader); } |