Re: [AD] vsync

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Την Sun, 15 Mar 2009 04:19:19 +0200,ο(η) Trent Gamblin <trent@xxxxxxxxxx> έγραψε:

I understand that a "wait for vsync right now" command may not be available on all platforms for OpenGL. Right now the display vtable has an entry for such a method but the only implementing platform is D3D. Can we add a display option for vsync? I don't know how to implement it on OSX or Linux but I can get the
ball rolling and do so for D3D if that's ok.


To enable vsync in opengl you can use wglSwapIntervalEXT, glXSwapIntervalSGI and aglSwapInterval.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/