On Fri, Nov 05, 2010 at 05:35:27PM +0000, Robert Osfield wrote:
> Hi David,
> 
> Oh dear what a convoluted mess these GL3 drivers are in... I've just
> reviewed your changes and believe I understand the approach.  I'm not
> really comfortable with having the if(numExt==0) just before a #endif
> with a { } block right after, so I've gone with the below slight
> revision.  The change is to move the GLint numExt = 0 and if
> (numExt==0) outside the #if #endif block as it'll make the code much
> more resiliant to future changes without some error creeping in.
> 
> I've checked the changes into svn/trunk.  Could you try out svn/trunk
> and let me know it it's working fine for you.


I tested the patch,
        "From David Fries and Robert Osfield, fix for handling remote
        GLX server that declares GL 3.0 support but doesn't actually
        implement it correctly."
and it is working.  That is, it doesn't crash and
the extensions are available to OSG.  Thanks for looking at this.

-- 
David Fries <[email protected]>
http://fries.net/~david/ (PGP encryption key available)
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to