mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
[667/906] filtercube: fix for gles2 compilation
This commit is contained in:
parent
3d1aa836bf
commit
fe5f4429cc
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue