diff --git a/screencast/screencastmanager.cpp b/screencast/screencastmanager.cpp index 8b34ac970a..029d78ef45 100644 --- a/screencast/screencastmanager.cpp +++ b/screencast/screencastmanager.cpp @@ -99,6 +99,7 @@ private: if (m_damagedRegion.isEmpty()) { return; } + effects->makeOpenGLContextCurrent(); EGLFence fence(kwinApp()->platform()->sceneEglDisplay()); QSharedPointer frameTexture(m_toplevel->effectWindow()->sceneWindow()->windowTexture()); const bool wasYInverted = frameTexture->isYInverted();