summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-10-12 18:49:18 -0500
committerDave Parks <davep@lindenlab.com>2022-10-12 18:49:18 -0500
commit598c953d540090caa8a9a12581a4ab8ae52615dd (patch)
tree403932e8219368a70a95ddf1b634cdbad551a6a9 /indra/newview/llviewerwindow.cpp
parentbc84b88cb389f30bd9b6b1355a64abdad4185f35 (diff)
SL-18190 Fix for assert on 360 snapshot and ? fix for mac build ?
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index 8ef65b665d..5c5a5ba0d1 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -5162,7 +5162,7 @@ BOOL LLViewerWindow::simpleSnapshot(LLImageRaw* raw, S32 image_width, S32 image_
LLRenderTarget scratch_space;
U32 color_fmt = GL_RGBA;
const bool use_depth_buffer = true;
- const bool use_stencil_buffer = true;
+ const bool use_stencil_buffer = false;
if (scratch_space.allocate(image_width, image_height, color_fmt, use_depth_buffer, use_stencil_buffer))
{
if (gPipeline.allocateScreenBuffer(image_width, image_height))