[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
This commit is contained in:
Robert Bragg 2009-01-12 18:15:40 +00:00
parent 010fd71059
commit b60c2a2df6

View File

@ -1,5 +1,5 @@
diff --git a/clutter/cogl/gl/cogl.c b/clutter/cogl/gl/cogl.c 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 --- a/clutter/cogl/gl/cogl.c
+++ b/clutter/cogl/gl/cogl.c +++ b/clutter/cogl/gl/cogl.c
@@ -211,17 +211,17 @@ cogl_pop_matrix (void) @@ -211,17 +211,17 @@ cogl_pop_matrix (void)
@ -25,9 +25,12 @@ index 7b61b63..dcded98 100644
} }
void 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 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), - glRotated ((double)(angle),
- (double)(x), - (double)(x),