Order of the Butterfly
Posts: 186 from 2003/10/23
Quote:
amigadave wrote:
Since you say it doesn't happen when run right after a reboot and you are using a 1.25GHz MacMini that only has 32mb VRAM, could it have something to do with your computer running low on VRAM after it has been running for a while and you run this code?
Just an "uneducated" guess.
no , no way.
the program should not jump (like the feather scrensaver)
so back on topic pls.
i've downloaded your example modified for sdl.
The first error come in my mind is :
you use the sdl, but not the timer to update at desidered frame rate the demo.
Here some modification i've made in a hurry :
http://pastebin.com/PYXPic2P
A good example of an fps limiter is here http://sdl.beuc.net/sdl.wiki/Time_Examples
[ Edited by raistlin77it on 2011/2/5 12:23 ]
[ Edited by raistlin77it on 2011/2/5 13:38 ]
I'm nerdy in the extreme
And whiter than sour cream
White&Nerdy 2006 Al Yankovic