diff --git a/src/libkwineffects/kwinglutils.cpp b/src/libkwineffects/kwinglutils.cpp index 601b4d6abf..5fa38bd28c 100644 --- a/src/libkwineffects/kwinglutils.cpp +++ b/src/libkwineffects/kwinglutils.cpp @@ -983,6 +983,8 @@ GLFramebuffer *GLFramebuffer::popFramebuffer() GLFramebuffer *ret = s_fbos.pop(); if (!s_fbos.isEmpty()) { s_fbos.top()->bind(); + } else { + glBindFramebuffer(GL_FRAMEBUFFER, 0); } return ret;