Original Post
Hi, this is my first post. I hope this isn't at the wrong section, because I don't know whether it's an OpenGL problem or simply C. I am trying to create a very simple text based map loader. I have made it so that it should be able to load an undefined number of textures, but the problem is, whenever I try to load more than 4 textures, the loader segfaults. I have no clue why it does so. Anyway, here is the code, along with a sample map. kenogl_map.c kenogl_map.h map.txt kenogl.c kenogl.h Thanks ahead, RS232 [Edited by - RS232 on August 7, 2006 7:08:28 PM]