Bug 1159034 - Only fake no-alpha for the backbuffer. - r=kamidphish

This commit is contained in:
Jeff Gilbert
2015-04-30 17:30:26 -07:00
parent 957669071b
commit 5d26eae68a
4 changed files with 7 additions and 6 deletions

View File

@@ -802,7 +802,7 @@ WebGLFramebuffer::CheckAndInitializeAttachments()
}
// Clear!
mContext->ForceClearFramebufferWithDefaultValues(mask, colorAttachmentsMask);
mContext->ForceClearFramebufferWithDefaultValues(false, mask, colorAttachmentsMask);
// Mark all the uninitialized images as initialized.
if (mColorAttachment0.HasUninitializedImageData())