Skip to content
Snippets Groups Projects
Commit c07f47de authored by Graham Linden's avatar Graham Linden
Browse files

NORSPEC-259 nerfed copyContentsToFramebuffer handling of non-FBO sources

parent 3a8cdb5d
No related branches found
No related tags found
No related merge requests found
...@@ -572,8 +572,10 @@ void LLRenderTarget::copyContentsToFramebuffer(LLRenderTarget& source, S32 srcX0 ...@@ -572,8 +572,10 @@ void LLRenderTarget::copyContentsToFramebuffer(LLRenderTarget& source, S32 srcX0
{ {
if (!source.mFBO) 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; GLboolean write_depth = mask & GL_DEPTH_BUFFER_BIT ? TRUE : FALSE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment