Segmentation fault using SDL with C++, trying to Blit images
OK - I have an interesting one here. I'm working on a tetris clone (basically to "level-up" my skills). I was trying to refactor my code to get it abstracted the way I wanted it. While it was working just fine before, now I get a segmentation fault before any images can be blitted. I've tried debugging it to no avail. I have posted my SVN working copy of the project here . It's just a small project and someone with more knowledge than me and a good debugger will probably figure it out in a snap. The only dependency is SDL . Kudos to the person that can tell me what I'm doing wrong. Edit: As