diff options
author | Graham Linden <graham@lindenlab.com> | 2013-09-26 09:23:47 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-09-26 09:23:47 -0700 |
commit | badb8a945d31aed6f396e7efb521e76083870069 (patch) | |
tree | fc95ced8519d1560c477e07acfd1fd13dfc043ac /indra/llrender/llrendertarget.cpp | |
parent | c56b410bdb3f58d5e058cd1f0e884bfcfee004c5 (diff) |
NORSPEC-259 revive fix stomped with materials->bear merge
Diffstat (limited to 'indra/llrender/llrendertarget.cpp')
-rwxr-xr-x | indra/llrender/llrendertarget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llrender/llrendertarget.cpp b/indra/llrender/llrendertarget.cpp index d7f141bd92..353e61105a 100755 --- a/indra/llrender/llrendertarget.cpp +++ b/indra/llrender/llrendertarget.cpp @@ -583,8 +583,10 @@ void LLRenderTarget::copyContentsToFramebuffer(LLRenderTarget& source, S32 srcX0 { if (!source.mFBO) { - llerrs << "Cannot copy framebuffer contents for non FBO render targets." << llendl; + llwarns << "Cannot copy framebuffer contents for non FBO render targets." << llendl; + return; } + { GLboolean write_depth = mask & GL_DEPTH_BUFFER_BIT ? TRUE : FALSE; |