Commit 932cd27a authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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.
parent 5e350b0d
......@@ -70,7 +70,6 @@ private:
if (m_damagedRegion.isEmpty()) {
QSharedPointer<GLTexture> frameTexture(m_toplevel->effectWindow()->sceneWindow()->windowTexture());
const bool wasYInverted = frameTexture->isYInverted();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment