diff --git a/src/xpra/client/gl/gl_window_backing_base.py b/src/xpra/client/gl/gl_window_backing_base.py index 20f42777d7..d49b2ee697 100644 --- a/src/xpra/client/gl/gl_window_backing_base.py +++ b/src/xpra/client/gl/gl_window_backing_base.py @@ -1040,10 +1040,10 @@ def do_paint_rgb(self, rgb_format, img_data, x, y, width, height, rowstride, opt glBindTexture(target, 0) glDisable(target) self.paint_box(options.strget("encoding"), options.intget("delta", -1)>=0, x, y, width, height) - fire_paint_callbacks(callbacks) # Present update to screen self.present_fbo(x, y, width, height, options.intget("flush", 0)) # present_fbo has reset state already + fire_paint_callbacks(callbacks) return except GLError as e: message = "OpenGL %s paint failed: %r" % (rgb_format, e)