gnome-games r8506 - trunk/libgames-support
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r8506 - trunk/libgames-support
- Date: Tue, 6 Jan 2009 18:20:44 +0000 (UTC)
Author: chpe
Date: Tue Jan 6 18:20:44 2009
New Revision: 8506
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8506&view=rev
Log:
Fix build with clutter 0.9.
Fix pointer / gpointer to pointer confusion wrt. CoglHandle.
Modified:
trunk/libgames-support/games-card-textures-cache.c
Modified: trunk/libgames-support/games-card-textures-cache.c
==============================================================================
--- trunk/libgames-support/games-card-textures-cache.c (original)
+++ trunk/libgames-support/games-card-textures-cache.c Tue Jan 6 18:20:44 2009
@@ -81,7 +81,7 @@
"games_card_textures_cache_clear\n");
for (i = 0; i < GAMES_CARDS_TOTAL; i++) {
- CoglHandle *handle = priv->cards[i];
+ CoglHandle handle = priv->cards[i];
if (handle != COGL_INVALID_HANDLE &&
!IS_FAILED_HANDLE (handle)) {
@@ -114,7 +114,7 @@
priv = self->priv = GAMES_CARD_TEXTURES_CACHE_GET_PRIVATE (self);
- priv->cards = g_malloc0 (sizeof (ClutterActor *) * GAMES_CARDS_TOTAL);
+ priv->cards = g_malloc0 (sizeof (CoglHandle) * GAMES_CARDS_TOTAL);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]