You need to draw your scene every frame, not just draw it once in it's first state and then update state, but not drawing.
Place your drawing code inside the while loop (don't have experience with SDL so can't really say if within SDL_PollEvent while or (!done) while but I would say you should put your drawing code inside the !done while.
BikonjaMember Since 02 Sep 2007
Offline Last Active Mar 02 2013 06:36 AM
- Group Members
- Active Posts 7
- Profile Views 586
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
- Website URL http://www.bikonja.com
Bikonja hasn't added any contacts yet.