Added a check against the makeCurrent() return type to make sure that OpenGL  calls are only made if the makeCurrent() is successful.
Added a check against the makeCurrent() return type to make sure that OpenGL 
calls are only made if the makeCurrent() is successful.


marchelbling/osg,marchelbling/osg,artoolkit/osg,openscenegraph/osg,artoolkit/osg,scrawl/osg,scrawl/osg,marchelbling/osg,openscenegraph/osg,jtorresfabra/osg,scrawl/osg,jtorresfabra/osg,artoolkit/osg,openscenegraph/osg,scrawl/osg,tomasthoresen/osg,jtorresfabra/osg,marchelbling/osg,jtorresfabra/osg,tomasthoresen/osg,openscenegraph/osg,tomasthoresen/osg,artoolkit/osg,tomasthoresen/osg