[cogl/cogl-1.8] Fix the 1.0 wrapper for cogl_path_curve_to



commit fc10934a78c74d7f29f5cddd603c77fec29b1508
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>
    
    (cherry picked from commit c8f8dbec7e2b36e350b4e12368a060eed39333da)

 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 116bd50..304e1a5 100644
--- a/cogl/cogl-path.c
+++ b/cogl/cogl-path.c
@@ -261,7 +261,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);
 }
 
 #undef cogl_path_rel_curve_to



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