From fe5f4429cc9886232063591fd88606be856707db Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 4 Feb 2013 21:29:33 +1100 Subject: [PATCH] [667/906] filtercube: fix for gles2 compilation --- gst/gl/gstglfiltercube.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/gl/gstglfiltercube.c b/gst/gl/gstglfiltercube.c index dcb65d2a32..43f116d99e 100644 --- a/gst/gl/gstglfiltercube.c +++ b/gst/gl/gstglfiltercube.c @@ -426,7 +426,9 @@ _callback_opengl (gint width, gint height, guint texture, gpointer stuff) static void _callback_gles2 (gint width, gint height, guint texture, gpointer stuff) { - GstGLFilterCube *cube_filter = GST_GL_FILTER_CUBE (stuff); + GstGLFilter *filter = GST_GL_FILTER (stuff); + GstGLFilterCube *cube_filter = GST_GL_FILTER_CUBE (filter); + GstGLFuncs *gl = filter->display->gl_vtable; static GLfloat xrot = 0; static GLfloat yrot = 0;