diff options
Diffstat (limited to 'src/opengl/qglpixelbuffer.cpp')
| -rw-r--r-- | src/opengl/qglpixelbuffer.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qglpixelbuffer.cpp b/src/opengl/qglpixelbuffer.cpp index 56bfaebe4f..63b624aea2 100644 --- a/src/opengl/qglpixelbuffer.cpp +++ b/src/opengl/qglpixelbuffer.cpp @@ -344,6 +344,8 @@ void QGLPixelBuffer::updateDynamicTexture(GLuint texture_id) const      QOpenGLExtensions extensions(ctx->contextHandle()); +    ctx->d_ptr->refreshCurrentFbo(); +      if (d->blit_fbo) {          QOpenGLFramebufferObject::blitFramebuffer(d->blit_fbo, d->fbo);          extensions.glBindFramebuffer(GL_READ_FRAMEBUFFER, d->blit_fbo->handle());  | 
