Mercurial > hg > Members > kono > tree_dandy2
comparison 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 |
comparison
equal
deleted
inserted
replaced
34:b65f6fc9c84f | 35:3b92a4b17049 |
---|---|
220 for(node=top->surfaces; node!=NULL; node=next_node(node)) | 220 for(node=top->surfaces; node!=NULL; node=next_node(node)) |
221 { | 221 { |
222 //image = SDL_LoadBMP(node->image_name); | 222 //image = SDL_LoadBMP(node->image_name); |
223 //image = IMG_Load(node->image_name); | 223 //image = IMG_Load(node->image_name); |
224 image = LoadSprite(node); | 224 image = LoadSprite(node); |
225 node->texture = (int *)SDL_GL_LoadTexture(image, texcoord); | 225 node->texture = SDL_GL_LoadTexture(image, texcoord); |
226 SDL_FreeSurface(image); | 226 SDL_FreeSurface(image); |
227 } | 227 } |
228 } | 228 } |
229 | 229 |