diff --git a/Components/Terrain/src/OgreTerrainMaterialGeneratorA.cpp b/Components/Terrain/src/OgreTerrainMaterialGeneratorA.cpp index 078a9dfd1c5..409056ab24f 100644 --- a/Components/Terrain/src/OgreTerrainMaterialGeneratorA.cpp +++ b/Components/Terrain/src/OgreTerrainMaterialGeneratorA.cpp @@ -98,8 +98,7 @@ namespace Ogre { mShaderLanguage = "hlsl"; } - else if (hmgr.isLanguageSupported("glsl") - && Root::getSingleton().getRenderSystem()->getNativeShadingLanguageVersion() >= 150) + else if (hmgr.isLanguageSupported("glsl")) { mShaderLanguage = "glsl"; }