by Robert Osfield

> 
> HI Xam,
> 
> When setting up the GraphicsWindow you pass in a
> GraphicsContext::Traits object, this has a field vsync that defaults
> to true.
> 
> The other route would be to use putenv() in your app if you want to
> use env vars to control the driver.
> 
> Robert.
> 


I have tried that and it didnt work....    the reason is that even through 
GraphicsContext::Traits holds the vsync variable the function
bool GraphicsWindowWin32::realizeImplementation() makes no use of it at all.   
Actually, i found no GraphicsWindowWin32 functions that use it. The only place 
that it is being set is in GraphicsWindowCarbon.cpp but since im programming on 
Windows, I get no vsync option.

Would it be possible to put this option in for Win32Apps?  It would really help 
out in performance testing while developing my apps....  I know that some 
Delta3D users have been looking for this option also, and we would all greatly 
appreciate this....

Thank you!

Cheers,
M

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=24316#24316





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to