[667/906] filtercube: fix for gles2 compilation

This commit is contained in:
Matthew Waters 2013-02-04 21:29:33 +11:00
parent 3d1aa836bf
commit fe5f4429cc

View file

@ -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;