From: Emmanuele Bassi Date: Fri, 30 Jan 2009 14:57:23 +0000 (+0000) Subject: Rename cogl_translatex() to cogl_translate() X-Git-Url: https://vcs.maemo.org/git/?p=clutter-gtk;a=commitdiff_plain;h=7de6efdcd9c4df952038fb4562ec54e3eae8ace6 Rename cogl_translatex() to cogl_translate() The cogl_translatex() call was removed from the COGL API with the switch to floats entry points. --- diff --git a/clutter-gtk/gtk-clutter-viewport.c b/clutter-gtk/gtk-clutter-viewport.c index d050ea5..d763f43 100644 --- a/clutter-gtk/gtk-clutter-viewport.c +++ b/clutter-gtk/gtk-clutter-viewport.c @@ -561,9 +561,9 @@ gtk_clutter_viewport_paint (ClutterActor *actor) /* translate the paint environment by the same amount * defined by the origin value */ - cogl_translatex (CLUTTER_UNITS_TO_FIXED (priv->origin.x) * -1, - CLUTTER_UNITS_TO_FIXED (priv->origin.y) * -1, - CLUTTER_UNITS_TO_FIXED (priv->origin.z) * -1); + cogl_translate (CLUTTER_UNITS_TO_FLOAT (priv->origin.x) * -1, + CLUTTER_UNITS_TO_FLOAT (priv->origin.y) * -1, + CLUTTER_UNITS_TO_FLOAT (priv->origin.z) * -1); /* the child will be painted in the new frame of reference */ if (priv->child && CLUTTER_ACTOR_IS_VISIBLE (priv->child))