summaryrefslogtreecommitdiff
path: root/indra/newview/llviewershadermgr.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-11-13 12:12:49 +0800
committerErik Kundiman <erik@megapahit.org>2024-11-13 12:12:49 +0800
commit4ffc623e0fbb3e8a8559d7d833d70cb759ff8ebc (patch)
treeb699a71b4439219b78055edebe0165cf4f37ff0c /indra/newview/llviewershadermgr.cpp
parent362d0668a5927a34856233266bc6559889a4b6ac (diff)
parentc654dac4b7593355a5754042d0b43e03924b3efb (diff)
Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into 2024.09-ExtraFPS
Diffstat (limited to 'indra/newview/llviewershadermgr.cpp')
-rw-r--r--indra/newview/llviewershadermgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewershadermgr.cpp b/indra/newview/llviewershadermgr.cpp
index d1201df157..f5af9cc397 100644
--- a/indra/newview/llviewershadermgr.cpp
+++ b/indra/newview/llviewershadermgr.cpp
@@ -2493,7 +2493,7 @@ bool LLViewerShaderMgr::loadShadersDeferred()
}
}
- if (success)
+ if (success && gGLManager.mGLVersion > 4.05f)
{
gCASProgram.mName = "Contrast Adaptive Sharpening Shader";
gCASProgram.mFeatures.hasSrgb = true;