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

@@ -693,6 +693,7 @@ bool LLPipeline::allocateScreenBuffer(U32 resX, U32 resY, U32 samples)
}
mSampleBuffer.release();
mScreen.release();
if (LLPipeline::sRenderDeferred)
{
@@ -906,6 +907,8 @@ void LLPipeline::releaseScreenBuffers()
{
mShadow[i].release();
}
mSampleBuffer.release();
}