diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-09-23 22:10:17 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-09-30 02:19:51 +0200 |
commit | a2be67cbfaf20303704ec549313778729190d89b (patch) | |
tree | 0771b7e42ea1437905297c12781962deff14347c /client/screen.cpp | |
parent | fe72894bb808969ef6c72a4852fa78477e2f77ef (diff) | |
download | spice-a2be67cbfaf20303704ec549313778729190d89b.tar.gz spice-a2be67cbfaf20303704ec549313778729190d89b.tar.xz spice-a2be67cbfaf20303704ec549313778729190d89b.zip |
spicec: use doublebuffer for opengl
This visually reduces glitches without noticeable speed difference.
It's also the traditionnal way of doing opengl.
Diffstat (limited to 'client/screen.cpp')
-rw-r--r-- | client/screen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/screen.cpp b/client/screen.cpp index a05d5620..e76fd50a 100644 --- a/client/screen.cpp +++ b/client/screen.cpp @@ -357,6 +357,7 @@ inline void RedScreen::update_done() } layer->on_update_completion(_update_mark - 1); } + _window.swap_gl(); } inline void RedScreen::update_composit(QRegion& composit_rgn) |