summaryrefslogtreecommitdiff
path: root/client/red_window.h
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/red_window.h
parentfe72894bb808969ef6c72a4852fa78477e2f77ef (diff)
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/red_window.h')
-rw-r--r--client/red_window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/red_window.h b/client/red_window.h
index dbd0c797..bf59d8b8 100644
--- a/client/red_window.h
+++ b/client/red_window.h
@@ -82,6 +82,8 @@ public:
void set_type_gl();
void unset_type_gl();
+
+ void swap_gl();
#endif
int get_screen_num();