Blocking SDL_GL_SwapBuffers()?

Hi:

I’m developing an application in Win2K and OS X and I was wondering if
there is a way to have SDL_GL_SwapBuffers() to wait until the buffer
swap has occur before returning? Basically I want to stall the program
until the actual buffer swap is complete.

Thanks,

Jim

Check the documentation of glFinish().

— iconian wrote:> Hi:

I’m developing an application in Win2K and OS X and
I was wondering if
there is a way to have SDL_GL_SwapBuffers() to wait
until the buffer
swap has occur before returning? Basically I want to
stall the program
until the actual buffer swap is complete.

Thanks,

Jim


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail