From a2be67cbfaf20303704ec549313778729190d89b Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Mon, 23 Sep 2013 22:10:17 +0200 Subject: spicec: use doublebuffer for opengl This visually reduces glitches without noticeable speed difference. It's also the traditionnal way of doing opengl. --- client/screen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'client/screen.cpp') 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) -- cgit