[SDL] problem with SDL_SwapBuffers()

Davide "M3xican" Coppola dmc at dev-labs.net
Fri Jun 30 13:19:42 PDT 2006


Mikael Eriksson wrote:
> I think opengl only renders when it needs to. Try calling glFinish()
> before SDL_SwapBuffers() and check if it's faster.
>   
I have tried to use glFinish(), it takes SDL_SwapBuffers() time,
so at the moment limiting the FPS is still the better solution.

Thanx

-- 

Davide "M3xican" Coppola

--------------------------------------------------------------------
email:  dmc at dev-labs.net
homep:  http://dmc.dev-labs.net
ICQ:    104241710
MSN:	bad_hangover at hotmail.it

Don't use IE and OE! 
Download FireFox and ThunderBird: http://www.mozilla.org/
--------------------------------------------------------------------





More information about the SDL mailing list