mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 14:36:24 +00:00
[466/906] tests: Fix variable unused but set compiler warning
This commit is contained in:
parent
4732eb4d68
commit
7e3070fe31
1 changed files with 0 additions and 3 deletions
|
@ -47,15 +47,12 @@ create_actor (GstGLClutterActor * actor)
|
||||||
{
|
{
|
||||||
static gint xpos = 0;
|
static gint xpos = 0;
|
||||||
static gint ypos = 0;
|
static gint ypos = 0;
|
||||||
Display *disp;
|
|
||||||
actor->texture = g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP,
|
actor->texture = g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP,
|
||||||
"window", actor->win, "automatic-updates", TRUE, NULL);
|
"window", actor->win, "automatic-updates", TRUE, NULL);
|
||||||
clutter_container_add_actor (CLUTTER_CONTAINER (actor->stage),
|
clutter_container_add_actor (CLUTTER_CONTAINER (actor->stage),
|
||||||
actor->texture);
|
actor->texture);
|
||||||
clutter_actor_set_position (actor->texture, xpos, ypos);
|
clutter_actor_set_position (actor->texture, xpos, ypos);
|
||||||
|
|
||||||
disp = clutter_x11_get_default_display ();
|
|
||||||
|
|
||||||
if (xpos > (COLS - 1) * W) {
|
if (xpos > (COLS - 1) * W) {
|
||||||
xpos = 0;
|
xpos = 0;
|
||||||
ypos += H + 1;
|
ypos += H + 1;
|
||||||
|
|
Loading…
Reference in a new issue