mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 634132 - Reset the current GL context after drawing thebes layers. r=joe a=blocking2.0
This commit is contained in:
parent
7f703501cd
commit
ff809e8adc
@ -756,6 +756,9 @@ ThebesLayerOGL::RenderLayer(int aPreviousFrameBuffer,
|
||||
}
|
||||
}
|
||||
|
||||
// Drawing thebes layers can change the current context, reset it.
|
||||
gl()->MakeCurrent();
|
||||
|
||||
DEBUG_GL_ERROR_CHECK(gl());
|
||||
|
||||
gl()->fBindFramebuffer(LOCAL_GL_FRAMEBUFFER, aPreviousFrameBuffer);
|
||||
|
Loading…
Reference in New Issue
Block a user