16
Graphics / Re: Crash when draw() is used
« on: February 02, 2015, 10:51:31 pm »
I had some spare time today so I read my code. I found my mistake and it had nothing to do with SFML. I had a function to load the level and that function did not worked properly. At a point my function was accessing items from an array (that was holding my tile information), my index was out of bound and I think it somehow managed to modify some bytes of the place where my vertex array was stored in the memory. Is this even possible?
Anyways, this is the only explanation I could come up with, thanks anyways for trying to help.
Anyways, this is the only explanation I could come up with, thanks anyways for trying to help.