* commit '303a0695b8fa0b8f0095c437145a28633a7a8d92': Draw in the correct FBO after invoking a GL functor Bug #5650514
This commit is contained in:
@@ -208,7 +208,7 @@ void OpenGLRenderer::resume() {
|
||||
|
||||
glDisable(GL_DITHER);
|
||||
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, getTargetFbo());
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, mSnapshot->fbo);
|
||||
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
|
||||
|
||||
mCaches.blend = true;
|
||||
|
||||
@@ -213,7 +213,8 @@ public:
|
||||
Layer* layer;
|
||||
|
||||
/**
|
||||
* Only set when the flag kFlagIsFboLayer is set.
|
||||
* Target FBO used for rendering. Set to 0 when rendering directly
|
||||
* into the framebuffer.
|
||||
*/
|
||||
GLuint fbo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user