From c8f8dbec7e2b36e350b4e12368a060eed39333da Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Thu, 15 Mar 2012 18:57:52 +0000 Subject: [PATCH] Fix the 1.0 wrapper for cogl_path_curve_to MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 1.0 wrapper for cogl_path_curve_to was using the wrong value for y_1 so it wouldn't work. The patch was written by Dénes Almási. https://bugzilla.gnome.org/show_bug.cgi?id=672174 Reviewed-by: Neil Roberts --- cogl/cogl-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogl/cogl-path.c b/cogl/cogl-path.c index 0eaed99d8..aab3dfbf0 100644 --- a/cogl/cogl-path.c +++ b/cogl/cogl-path.c @@ -265,7 +265,7 @@ cogl_path_curve_to (float x_1, _COGL_GET_CONTEXT (ctx, NO_RETVAL); cogl2_path_curve_to (ctx->current_path, - x_1, y_2, x_2, y_2, x_3, y_3); + x_1, y_1, x_2, y_2, x_3, y_3); } void