зеркало из https://github.com/mozilla/gecko-dev.git
Bug 863968. Don't unbind frame buffer if we didn't composite. r=bjacob
This commit is contained in:
Родитель
289fdac403
Коммит
95eddc0e03
|
@ -294,9 +294,9 @@ ContainerRender(Container* aContainer,
|
|||
aManager->SetupPipeline(viewport.width, viewport.height,
|
||||
LayerManagerOGL::ApplyWorldTransform);
|
||||
aContainer->gl()->PopScissorRect();
|
||||
aContainer->gl()->fBindFramebuffer(LOCAL_GL_FRAMEBUFFER, aPreviousFrameBuffer);
|
||||
|
||||
if (!aManager->CompositingDisabled()) {
|
||||
aContainer->gl()->fBindFramebuffer(LOCAL_GL_FRAMEBUFFER, aPreviousFrameBuffer);
|
||||
aContainer->gl()->fDeleteFramebuffers(1, &frameBuffer);
|
||||
|
||||
aContainer->gl()->fActiveTexture(LOCAL_GL_TEXTURE0);
|
||||
|
|
Загрузка…
Ссылка в новой задаче