GL: Fix for a couple old bugs that could cause lots of GL errors.  One is an assumption about 2 sided stencil support always being there.  The other related to the wrong enumerations being used for the extension that we are checking.  See http://www.ogre3d.org/forums/viewtopic.php?f=2&t=44132
GL: Fix for a couple old bugs that could cause lots of GL errors.  One is an assumption about 2 sided stencil support always being there.  The other related to the wrong enumerations being used for the extension that we are checking.  See http://www.ogre3d.org/forums/viewtopic.php?f=2&t=44132

--HG--
branch : v1-7

bhlzlx/ogre,ehsan/ogre,ehsan/ogre,ruleless/ogre,bhlzlx/ogre,ruleless/ogre,bhlzlx/ogre,ehsan/ogre,ruleless/ogre,bhlzlx/ogre,ehsan/ogre,bhlzlx/ogre,ruleless/ogre,ruleless/ogre,bhlzlx/ogre,ehsan/ogre,ruleless/ogre