From 3bfbcedec8c0426406d52d073131feeeed560f32 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 20 Feb 2009 11:39:47 +0000 Subject: [PATCH] Do not use GL types in Clutter headers Bug 1451 - clutter_value_get_shader_matrix() return value The return value of the get_shader_matrix() function should be gfloat, not GLfloat. --- clutter/clutter-shader-types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-shader-types.h b/clutter/clutter-shader-types.h index 1c9e89ff8..fd36fe1c6 100644 --- a/clutter/clutter-shader-types.h +++ b/clutter/clutter-shader-types.h @@ -88,7 +88,7 @@ G_CONST_RETURN gfloat * clutter_value_get_shader_float (const GValue *value, gsize *length); G_CONST_RETURN COGLint *clutter_value_get_shader_int (const GValue *value, gsize *length); -G_CONST_RETURN GLfloat *clutter_value_get_shader_matrix (const GValue *value, +G_CONST_RETURN gfloat * clutter_value_get_shader_matrix (const GValue *value, gsize *length); G_END_DECLS