diff --git a/src/graphics.cpp b/src/graphics.cpp index ecf850f..58cb787 100644 --- a/src/graphics.cpp +++ b/src/graphics.cpp @@ -508,6 +508,12 @@ struct GraphicsPrivate void swapGLBuffer() { fpsLimiter.delay(); + + // Steam overlay renderer blindly assumes that the default + // framebuffer is bound at swap time when it ReadPixels's to + // aquire screenshots. + FBO::unbind(); + SDL_GL_SwapWindow(threadData->window); ++frameCount;