[SDL] SDL_Flip and SDL_Delay freaking me out

Jonathan Dearborn grimfang4 at hotmail.com
Wed Nov 21 18:13:23 PST 2007


Hey,
 
When a small, obviously insignificant change fixes/causes a crash in my programs, I know that there is a problem somewhere else.  For me, this has always been from dereferencing a bad pointer or overrunning an array.
 
Jonny D



> Date: Wed, 21 Nov 2007 11:57:32 +0000> From: neil at cloudsprinter.com> To: sdl at lists.libsdl.org> Subject: [SDL] SDL_Flip and SDL_Delay freaking me out> > > now beofre prople start telling me how poor my programming practises are i just> want to know why this might be happeneing.> > if in my code looks like this> > > SDL_Delay(30);> > SDL_Flip(screen);> > > it runs> > if it looks like this> > SDL_Flip(screen);> > SDL_Delay(30);> > it crashes> > yes i still am having issues as to how to tun my main redraw loop, but this is> really fonzing me out.> > _______________________________________________> SDL mailing list> SDL at lists.libsdl.org> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20071121/c600da7e/attachment.htm 


More information about the SDL mailing list