NORSPEC-259 nerfed copyContentsToFramebuffer handling of non-FBO sources

meow-7.2.2
Graham Linden 2013-06-24 19:28:02 -07:00
parent 3a8cdb5d46
commit c07f47dee8
1 changed files with 3 additions and 1 deletions

View File

@ -572,8 +572,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;