Fix a bug with multiple contexts in GL. Texture units are bound per context but texture unit state was being carried across and therefore some texture units were not getting reset when they should have been in some cases. Also reset lights too.
Fix a bug with multiple contexts in GL. Texture units are bound per context but texture unit state was being carried across and therefore some texture units were not getting reset when they should have been in some cases.
Also reset lights too.

paroj/ogre,paroj/ogre,OGRECave/ogre,RealityFactory/ogre,RealityFactory/ogre,paroj/ogre,OGRECave/ogre,OGRECave/ogre,RealityFactory/ogre,paroj/ogre,paroj/ogre,RealityFactory/ogre,OGRECave/ogre,RealityFactory/ogre,OGRECave/ogre