From 86aba661bd2b7eb4506aeeb9cd0d884db6118267 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 29 Jan 2009 13:31:11 +0000 Subject: [PATCH] Fix a variable masking warning The usual issue with math.h defined symbols. --- clutter/cogl/common/cogl-primitives.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/clutter/cogl/common/cogl-primitives.c b/clutter/cogl/common/cogl-primitives.c index 1454b03c7..65df7130d 100644 --- a/clutter/cogl/common/cogl-primitives.c +++ b/clutter/cogl/common/cogl-primitives.c @@ -45,15 +45,14 @@ void _cogl_path_fill_nodes (); void _cogl_path_stroke_nodes (); void -cogl_rectangle (float x1, - float y1, - float x2, - float y2) +cogl_rectangle (float x_1, + float y_1, + float x_2, + float y_2) { - cogl_rectangle_with_multitexture_coords (x1, y1, - x2, y2, - NULL, - 0); + cogl_rectangle_with_multitexture_coords (x_1, y_1, + x_2, y_2, + NULL, 0); } void