mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-21 09:53:47 +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
|
static void
|
||||||
_callback_gles2 (gint width, gint height, guint texture, gpointer stuff)
|
_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 xrot = 0;
|
||||||
static GLfloat yrot = 0;
|
static GLfloat yrot = 0;
|
||||||
|
|
Loading…
Reference in a new issue