mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 12:41:05 +00:00
gl/examples: fix compilation for clutter examples
ClutterX11TexturePixmap is deprecated in Clutter 1.6 and we ask for at least 1.8
This commit is contained in:
parent
90bf46484d
commit
2246e51250
2 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ create_actor (GstGLClutterActor * actor)
|
|||
//ClutterTimeline *timeline;
|
||||
ClutterAnimation *animation = NULL;
|
||||
|
||||
actor->texture = g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP,
|
||||
actor->texture = g_object_new (CLUTTER_X11_TYPE_TEXTURE_PIXMAP,
|
||||
"window", actor->win, "automatic-updates", TRUE, NULL);
|
||||
clutter_container_add_actor (CLUTTER_CONTAINER (actor->stage),
|
||||
actor->texture);
|
||||
|
|
|
@ -53,7 +53,7 @@ create_actor (GstGLClutterActor * actor)
|
|||
{
|
||||
static gint xpos = 0;
|
||||
static gint ypos = 0;
|
||||
actor->texture = g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP,
|
||||
actor->texture = g_object_new (CLUTTER_X11_TYPE_TEXTURE_PIXMAP,
|
||||
"window", actor->win, "automatic-updates", TRUE, NULL);
|
||||
clutter_container_add_actor (CLUTTER_CONTAINER (actor->stage),
|
||||
actor->texture);
|
||||
|
|
Loading…
Reference in a new issue