Hi Per,
If the visual isn't supported then osg::createGraphicsContext(Traits*)
will return NULL, so if get a null back then
you can relax the Traits and try to create the context again.
Robert.
On Sat, May 17, 2008 at 12:50 AM, Per Rosengren [EMAIL PROTECTED] wrote:
I set multi sampling with
I set multi sampling with the following code:
ref_ptr DisplaySettings displaySettings = new DisplaySettings;
displaySettings-setNumMultiSamples(16);
displaySettings-setMinimumNumAlphaBits(8);
modelView-setDisplaySettings( displaySettings.get() );
If the graphics card does not support multi
2 matches
Mail list logo