i tried in an old project and in a new project to object oriente a displayed image, and it doesnt work.
i have 3 classes a main window class, and a main character class, and a main. I checked the order and fixed the error and it still wont work. it would be good if someone could help me out with this . https://drive.google.com/file/d/0B-RT7r-R1wP9NGRhN2hRWXlGLTA/edit?usp=sharing
thanks if you wanted to help.
The best thing to do when things aren't working as you expect is to try to find out what exactly *is* happening. Without any error checking or logging (NULL checks, error codes, SDL_GetError()), you'll just be guessing about what is going on.
Yeah, make sure your SDL_Init call is called with SDL_INIT_EVERYTHING
or SDL_INIT_VIDEO. Check all of your return values with error
checking, figure out which one is erroring then call SDL_GetError
after to find out what the error is. I bet you something is just
On Tue, Mar 18, 2014 at 12:46 AM, Andreas Schiffler
<[hidden email]> wrote: