[SDL] SDL_Surface & malloc

steve scullum at ntlworld.com
Sat Feb 22 16:22:00 PST 2003


if(&tiles[i]==NULL)  printf("Error al abrir una imagen\n");

should read if(tiles[i] == NULL) { ... }

Best place to read up on this is in the C Faq (Steve Summit)




More information about the SDL mailing list