Hi Wojciech,

On 27/09/10 22:28 , Wojciech Lewandowski wrote:
> As promised I prepared a patch to expose WGL_SWAP_METHOD / PFD_SWAP_METHOD  
> selection via
> GraphicsContext::Traits. Since Traits don't define any enums (I guess to be 
> simple to
> use) I tried to keep it that way and have added two boolean values: swapCopy &
> swapExchange. It is somewhat similar approach to GDI PixelFormatDescription 
> were
> both options can be present together.  Feel free to replace it with enum if 
> you find it
> more appropriate.

Is it valid to set both of them at the same time?  If not then I'd vote for 
making it an
enum in order not to confuse users and have to worry about state consistency.

Cheers,
/ulrich
_______________________________________________
osg-submissions mailing list
osg-submissions@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to