diff options
author | Graham Linden <graham@lindenlab.com> | 2018-06-01 15:34:21 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-06-01 15:34:21 +0100 |
commit | 37e8fd20c3823482f3a15b4bfd544f7847070db8 (patch) | |
tree | b31e3a1ef86431cda7703621f779b38a98c14a3e /indra/newview/llviewerdisplay.cpp | |
parent | 64302d3000b69b31e72eb6a3bd8a981c80cb88de (diff) | |
parent | bd84cbfa11fbe2b3aa5ceba5978841310488b8e4 (diff) |
Merge to 5.1.6
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r-- | indra/newview/llviewerdisplay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index d1b6decb0d..82120db53e 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -1004,7 +1004,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot) gPipeline.mDeferredScreen.getHeight(), 0, 0, gPipeline.mDeferredScreen.getWidth(), gPipeline.mDeferredScreen.getHeight(), - GL_DEPTH_BUFFER_BIT, GL_NEAREST); + GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT, GL_NEAREST); } } else @@ -1016,7 +1016,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot) gPipeline.mScreen.getHeight(), 0, 0, gPipeline.mScreen.getWidth(), gPipeline.mScreen.getHeight(), - GL_DEPTH_BUFFER_BIT, GL_NEAREST); + GL_DEPTH_BUFFER_BIT | GL_STENCIL_BUFFER_BIT, GL_NEAREST); } } } |