From b60c2a2df6b3cb386f6e2954e515db7c9a22a4d1 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Mon, 12 Jan 2009 18:15:40 +0000 Subject: [PATCH] [gl/cogl.c] Updates the cogl_rotatex prototype to take float x,y,z params I missed this in my last commit; it just updates the prototype in gl/cogl.c in line with the change made in cogl.h.in --- fixed-to-float-patches/{gl-cogl.c => gl-cogl.c.0.patch} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) rename fixed-to-float-patches/{gl-cogl.c => gl-cogl.c.0.patch} (91%) diff --git a/fixed-to-float-patches/gl-cogl.c b/fixed-to-float-patches/gl-cogl.c.0.patch similarity index 91% rename from fixed-to-float-patches/gl-cogl.c rename to fixed-to-float-patches/gl-cogl.c.0.patch index 6ec4ac153..898f94d48 100644 --- a/fixed-to-float-patches/gl-cogl.c +++ b/fixed-to-float-patches/gl-cogl.c.0.patch @@ -1,5 +1,5 @@ diff --git a/clutter/cogl/gl/cogl.c b/clutter/cogl/gl/cogl.c -index 7b61b63..dcded98 100644 +index 7b61b63..5100a08 100644 --- a/clutter/cogl/gl/cogl.c +++ b/clutter/cogl/gl/cogl.c @@ -211,17 +211,17 @@ cogl_pop_matrix (void) @@ -25,9 +25,12 @@ index 7b61b63..dcded98 100644 } void -@@ -233,10 +233,10 @@ cogl_translate (gint x, gint y, gint z) +@@ -231,12 +231,12 @@ cogl_translate (gint x, gint y, gint z) + } + void - cogl_rotatex (float angle, gint x, gint y, gint z) +-cogl_rotatex (float angle, gint x, gint y, gint z) ++cogl_rotatex (float angle, float x, float y, float z) { - glRotated ((double)(angle), - (double)(x),