diff tree_controll.c @ 35:3b92a4b17049 default tip

fix for macosx Yosemite
author Nozomi
date Thu, 19 May 2016 18:18:34 +0900
parents 972a7f233b23
children
line wrap: on
line diff
--- a/tree_controll.c	Sat May 21 20:44:24 2011 +0900
+++ b/tree_controll.c	Thu May 19 18:18:34 2016 +0900
@@ -222,7 +222,7 @@
       //image = SDL_LoadBMP(node->image_name);
       //image = IMG_Load(node->image_name);
       image = LoadSprite(node);
-      node->texture = (int *)SDL_GL_LoadTexture(image, texcoord);
+      node->texture = SDL_GL_LoadTexture(image, texcoord);
       SDL_FreeSurface(image);
     }
 }