[OGRE-359] Fix terrain sample segfault with GL3+ render system.
[OGRE-359] Fix terrain sample segfault with GL3+ render system.

digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre