summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolsky.cpp
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2021-10-05 15:59:21 -0600
committerDave Houlton <euclid@lindenlab.com>2021-10-06 10:59:00 -0600
commit3e99853b2984a40093ff6b504abfcabe065b251b (patch)
tree5c581b1bba52d39df5dba52dd1d38164c78aff49 /indra/newview/lldrawpoolsky.cpp
parent4c07eaa560c24303126057b7cf43441d87d520e5 (diff)
SL-16138 remove checks for now-mandatory capabilities
Diffstat (limited to 'indra/newview/lldrawpoolsky.cpp')
-rw-r--r--indra/newview/lldrawpoolsky.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/indra/newview/lldrawpoolsky.cpp b/indra/newview/lldrawpoolsky.cpp
index b6f55e800a..b1eefaab81 100644
--- a/indra/newview/lldrawpoolsky.cpp
+++ b/indra/newview/lldrawpoolsky.cpp
@@ -82,13 +82,7 @@ void LLDrawPoolSky::render(S32 pass)
}
else
{
- // don't use shaders!
- if (gGLManager.mHasShaderObjects)
- {
- // Ironically, we must support shader objects to be
- // able to use this call.
- LLGLSLShader::bindNoShader();
- }
+ LLGLSLShader::bindNoShader();
mShader = NULL;
}