Skip to content

Commit

Permalink
Replace GL data types with equivalent glib types.
Browse files Browse the repository at this point in the history
  • Loading branch information
bpepple committed Aug 25, 2012
1 parent fce5648 commit 92e456a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions mx/mx-deform-texture.c
Expand Up @@ -493,18 +493,18 @@ mx_deform_texture_class_init (MxDeformTextureClass *klass)
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);

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)

Expand Down
2 changes: 1 addition & 1 deletion mx/mx-texture-frame.c
Expand Up @@ -200,7 +200,7 @@ mx_texture_frame_paint (ClutterActor *self)


{
GLfloat rectangles[] =
gfloat rectangles[] =
{
/* top left corner */
0, 0,
Expand Down

1 comment on commit 92e456a

@djdeath
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Please sign in to comment.