Skip to content

Commit

Permalink
fire the paint callbacks after releasing the gl context
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@24365 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Nov 4, 2019
1 parent 428430b commit 1ae5f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/client/gl/gl_window_backing_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1ae5f8f

Please sign in to comment.