Re: [AD] vsync

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


On Sun, 2009-03-15 at 11:21 +0100, Milan Mimica wrote:
> Trent Gamblin wrote:
> > 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.
> 
> The option is there: ALLEGRO_VSYNC
> It's just that the scorer ignores it, like other new additions.
> 

I just committed an example ex_vsync to test it. I can confirm that
enabling/disabling vsync with nvidia-settings works here :)

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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