summaryrefslogtreecommitdiffstats
path: root/client/x11/red_drawable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/x11/red_drawable.cpp')
-rw-r--r--client/x11/red_drawable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/x11/red_drawable.cpp b/client/x11/red_drawable.cpp
index 54e53f8d..19532c74 100644
--- a/client/x11/red_drawable.cpp
+++ b/client/x11/red_drawable.cpp
@@ -85,6 +85,7 @@ static inline void copy_to_gldrawable_from_gltexture(const RedDrawable_p* dest,
if (rendertype == RENDER_TYPE_FBO) {
GLuint fbo;
+ glFlush();
fbo = source->gl.fbo;
glBindFramebuffer(GL_FRAMEBUFFER_EXT, fbo);
} else {