[SDL] SDL_PollEvent()

Christian Walther cwalther at gmx.ch
Fri Nov 10 12:50:28 PST 2006


David Olofson wrote:
> SDL_GL_SwapBuffer() is *supposed* to block as needed to keep the loop 
> in sync with the display refresh, ...

It's only supposed to do this if you explicitly enable it using 
'SDL_GL_SetAttribute(SDL_GL_SWAP_CONTROL, 1);'.

  -Christian





More information about the SDL mailing list