[cogl] Fix the 1.0 wrapper for cogl_path_curve_to



commit c8f8dbec7e2b36e350b4e12368a060eed39333da
Author: Neil Roberts <neil linux intel com>
Date:   Thu Mar 15 18:57:52 2012 +0000

    Fix the 1.0 wrapper for cogl_path_curve_to
    
    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 <neil linux intel com>

 cogl/cogl-path.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/cogl-path.c b/cogl/cogl-path.c
index 0eaed99..aab3dfb 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]