plugins/screencast: Don't make effects opengl context current
This makes eglSwapBuffers() fail with per screen rendering enabled. In long term, the screencast plugin has to create its own OpenGL context and capture window frames after a compositing cycle has been performed. However, it's currently tricky to do because of monitor screencasting.
This commit is contained in:
parent
5e350b0db5
commit
932cd27a5c
1 changed files with 0 additions and 1 deletions
|
@ -70,7 +70,6 @@ private:
|
|||
if (m_damagedRegion.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
effects->makeOpenGLContextCurrent();
|
||||
QSharedPointer<GLTexture> frameTexture(m_toplevel->effectWindow()->sceneWindow()->windowTexture());
|
||||
const bool wasYInverted = frameTexture->isYInverted();
|
||||
frameTexture->setYInverted(false);
|
||||
|
|
Loading…
Reference in a new issue