Hi all,

I think that the implementation of osg::PolygonOffset::getModeUsage(..)
doesn't make sense.

bool PolygonOffset::getModeUsage(ModeUsage& usage) const
{
   usage.usesMode(GL_POLYGON_OFFSET_FILL);
   usage.usesMode(GL_POLYGON_OFFSET_LINE);
   usage.usesMode(GL_POLYGON_OFFSET_POINT);
   return true;
}

In this case the PolygonOffset for all there
Polygon-Modes is activated.

Normally the PolygonOffset is activated for
one Polygon-Mode.

Or I'm just missing something ?


Regards,
Daniel
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to