summaryrefslogtreecommitdiffstats
path: root/client/screen.cpp
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-23 22:10:17 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-09-30 02:19:51 +0200
commita2be67cbfaf20303704ec549313778729190d89b (patch)
tree0771b7e42ea1437905297c12781962deff14347c /client/screen.cpp
parentfe72894bb808969ef6c72a4852fa78477e2f77ef (diff)
downloadspice-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.cpp1
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)