diff options
author | Dave Parks <davep@lindenlab.com> | 2011-10-24 12:58:51 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-10-24 12:58:51 -0500 |
commit | 51ba2f5fbc379f58d64f8850cd438cc95d7b89f7 (patch) | |
tree | dc54c352b32b2745b9ea06cb035ca733ecf16c6b /indra | |
parent | dfe75ba0ebfe01928d9daba76f6e8b864f770e59 (diff) |
SH-2240 Fix for crash on enabling shadows when Debug GL is enabled
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/pipeline.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index cef4c649d7..04edc90be9 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -701,6 +701,9 @@ void LLPipeline::allocateScreenBuffer(U32 resX, U32 resY) bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples) { + refreshCachedSettings(); + refreshRenderDeferred(); + // remember these dimensions mScreenWidth = resX; mScreenHeight = resY; @@ -8435,6 +8438,7 @@ void LLPipeline::generateSunShadow(LLCamera& camera) BOOL skip_avatar_update = FALSE; if (!isAgentAvatarValid() || gAgentCamera.getCameraAnimating() || gAgentCamera.getCameraMode() != CAMERA_MODE_MOUSELOOK || !LLVOAvatar::sVisibleInFirstPerson) { + skip_avatar_update = TRUE; } |