Hi Jordi,

On Tue, Jun 21, 2011 at 12:31 PM, Jordi Torres <[email protected]> wrote:
> I tested yesterday with my worst test machine Ubuntu 10.04 with mesa drivers
> and toggling fullscreen was working well. I think my X11 version it's not
> affected by the workaround.

Good to hear it's working on an older rev of Ubuntu - still it's only
one year old ;-)

> I am compiling now on MacOS for i386 and x86_64. By now it gives me some
> warnings in OpenSceneGraph-3.0/src/osg/glu/libutil/mipmap.cpp:
>
> In function ‘GLdouble osg::extractUbyte(int, const void*)’:
> OpenSceneGraph-3.0/src/osg/glu/libutil/mipmap.cpp:8566: warning: comparison
> is always true due to limited range of data type
>
> And the same in lines 8582 8603 8626.
>
> I have not seen the code, I will try to look deeper this evening.

I have looked into the code and they are all assert()'s that will
always evaluated to true so the
warning is correct.  I've simply removed them as they are redundent
and have checked this in
to svn/trunk and OSG-3.0 branch.

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

Reply via email to