summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llviewershadermgr.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp
index 32978a0d04..18ae83e3b6 100644
--- a/indra/newview/llviewershadermgr.cpp
+++ b/indra/newview/llviewershadermgr.cpp
@@ -372,10 +372,6 @@ void LLViewerShaderMgr::setShaders()
gSavedSettings.setBOOL("VertexShaderEnable", TRUE);
}
}
- else if (gGLManager.mGLVersion < 2.f)
- { //NEVER use shaders on a pre 2.0 context
- gSavedSettings.setBOOL("VertexShaderEnable", FALSE);
- }
//setup preprocessor definitions
LLShaderMgr::instance()->mDefinitions["NUM_TEX_UNITS"] = llformat("%d", gGLManager.mNumTextureImageUnits);