On 21 November 2016 at 09:12, Fabien Boco <fabien.b...@gmail.com> wrote: > This is why I'm looking for an OpenGL ES alternative for glPush/PopAttrib > which works fine on the Windows version application.
The alternative to using glPush/glPop on the OSG would be to dirty the associated modes and attributes that are tracked in osg::State. In osg::State there are series of haveApplied*() methods to help with tell the OSG's state tracking mechanism something has externally changed. This requires you to know what modes and attributes will have been changed by the 3rd party code so it's not an easy alternative to glPush/glPop. Personally I find Qt's approach of changing GL state problematic, I much prefer windowing libraries to just create a graphics context and leave GL work entirely to dedicated graphics libraries. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org