diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp
index 3bac545b5f968c14306ec711c759eeccc9869ddc..129c915139458f1a4badc88f04a4045e635b6f0a 100644
--- a/indra/llrender/llshadermgr.cpp
+++ b/indra/llrender/llshadermgr.cpp
@@ -41,8 +41,6 @@
 #define UNIFORM_ERRS LL_ERRS("Shader")
 #endif
 
-#pragma optimize("", off)
-
 // Lots of STL stuff in here, using namespace std to keep things more readable
 using std::vector;
 using std::pair;