FBO tweaks. Release multisample fbo in LLPipeline::releaseScreenBuffers, and fixed LLRenderBuffer::mInternalFormat falling out of sync with LLRenderBuffer::mTex.

This commit is contained in:
Shyotl
2012-07-15 16:41:31 -05:00
parent 08dd79fafd
commit 10fe67f4a6
2 changed files with 4 additions and 0 deletions

View File

@@ -793,6 +793,7 @@ bool LLMultisampleBuffer::addColorAttachment(U32 color_fmt)
}
mTex.push_back(tex);
mInternalFormat.push_back(color_fmt);
return true;
}