diff options
author | Brad Linden <46733234+brad-linden@users.noreply.github.com> | 2024-10-01 16:04:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-01 16:04:44 -0700 |
commit | b4b52e471739e5aa8ba03985b124ae5da2bdedd7 (patch) | |
tree | 1826485c827ada4c1778231116b0659f818f718f /indra | |
parent | 690f099519e155220535e07539238139b16da99f (diff) |
Add early-out in LLPipeline::applyCAS() if gCASProgram failed to compile. (#2760)
fix secondlife/viewer#2756
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 39652ff6af..3e66ed1ab2 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -7288,7 +7288,7 @@ void LLPipeline::generateGlow(LLRenderTarget* src) void LLPipeline::applyCAS(LLRenderTarget* src, LLRenderTarget* dst) { static LLCachedControl<F32> cas_sharpness(gSavedSettings, "RenderCASSharpness", 0.4f); - if (cas_sharpness == 0.0f) + if (cas_sharpness == 0.0f || !gCASProgram.isComplete()) { gPipeline.copyRenderTarget(src, dst); return; |