summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorEuclid Linden <euclid@lindenlab.com>2021-10-06 18:49:13 +0000
committerEuclid Linden <euclid@lindenlab.com>2021-10-06 18:49:13 +0000
commit027ca696bd7bf222be63cf4d0af6e975b83a6815 (patch)
tree5c581b1bba52d39df5dba52dd1d38164c78aff49 /indra/newview/llappviewer.cpp
parent4778f9497ec8b871c297b4efc4c0a44ee5726af1 (diff)
parent3e99853b2984a40093ff6b504abfcabe065b251b (diff)
Merged in euclid-16138 (pull request #720)
SL-16138 avoid redundant shader binds, and related cleanup Approved-by: Dave Parks Approved-by: Michael Pohoreski
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 3d49a9eb78..98409106a1 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -1010,19 +1010,6 @@ bool LLAppViewer::init()
return 0;
}
- // If we don't have the right shader requirements.
- if (!gGLManager.mHasShaderObjects
- || !gGLManager.mHasVertexShader
- || !gGLManager.mHasFragmentShader)
- {
- LLUIString details = LLNotifications::instance().getGlobalString("UnsupportedShaderRequirements");
- OSMessageBox(
- details.getString(),
- LLStringUtil::null,
- OSMB_OK);
- return 0;
- }
-
// Without SSE2 support we will crash almost immediately, warn here.
if (!gSysCPU.hasSSE2())
{