File mx-Replace-GL-data-types-with-equivalent-glib-types.patch of Package mx
diff -rupN mx-1.4.7-orig/mx/mx-deform-texture.c mx-1.4.7/mx/mx-deform-texture.c
--- mx-1.4.7-orig/mx/mx-deform-texture.c 2012-08-08 16:08:12.000000000 +0200
+++ mx-1.4.7/mx/mx-deform-texture.c 2012-09-16 13:23:39.868332587 +0200
@@ -493,9 +493,9 @@ mx_deform_texture_class_init (MxDeformTe
static void
mx_deform_texture_init_arrays (MxDeformTexture *self)
{
- GLushort *idx, *bf_idx;
+ gushort *idx, *bf_idx;
gint x, y, direction;
- GLushort *static_indices, *static_bf_indices;
+ gushort *static_indices, *static_bf_indices;
MxDeformTexturePrivate *priv = self->priv;
mx_deform_texture_free_arrays (self);
@@ -503,8 +503,8 @@ mx_deform_texture_init_arrays (MxDeformT
priv->n_indices = (2 + 2 * priv->tiles_x) *
priv->tiles_y +
(priv->tiles_y - 1);
- static_indices = g_new (GLushort, priv->n_indices);
- static_bf_indices = g_new (GLushort, priv->n_indices);
+ static_indices = g_new (gushort, priv->n_indices);
+ static_bf_indices = g_new (gushort, priv->n_indices);
#define MESH_INDEX(X, Y) (Y) * (priv->tiles_x + 1) + (X)
diff -rupN mx-1.4.7-orig/mx/mx-texture-frame.c mx-1.4.7/mx/mx-texture-frame.c
--- mx-1.4.7-orig/mx/mx-texture-frame.c 2012-08-08 16:08:12.000000000 +0200
+++ mx-1.4.7/mx/mx-texture-frame.c 2012-09-16 13:24:41.149061323 +0200
@@ -200,7 +200,7 @@ mx_texture_frame_paint (ClutterActor *se
{
- GLfloat rectangles[] =
+ gfloat rectangles[] =
{
/* top left corner */
0, 0,