mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +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
ee95595af0
commit
2651272f4e
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