Commit 9076fba7ad1f8c4bde69169d3a91d7fa77a34d21
Fixed bug in GL pixmap backend (causing missing rendering in lance).
Since copyBackFromRenderFbo() manually changes the framebuffer object
binding, we also need to update the context's current_fbo member.
Reviewed-by: Kim
| |   |
| 486 | 486 | GL_COLOR_BUFFER_BIT, |
| 487 | 487 | GL_NEAREST); |
| 488 | 488 | |
| if (keepCurrentFboBound) |
| if (keepCurrentFboBound) { |
| 490 | 490 | glBindFramebuffer(GL_FRAMEBUFFER_EXT, ctx->d_ptr->current_fbo); |
| } else { |
| glBindFramebuffer(GL_DRAW_FRAMEBUFFER_EXT, m_renderFbo->handle()); |
| ctx->d_ptr->current_fbo = m_renderFbo->handle(); |
| } |
| 491 | 495 | } |
| 492 | 496 | |
| 493 | 497 | bool QGLPixmapData::useFramebufferObjects() |