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>
This commit is contained in:
Neil Roberts 2012-03-15 18:57:52 +00:00
parent 7513aca394
commit c8f8dbec7e

View File

@ -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