summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-12 11:08:46 -0700
committerCarl Worth <cworth@cworth.org>2009-10-12 11:08:46 -0700
commit3f091e92e528a6137267b21f948b416fa0fe0aa4 (patch)
tree3199e79e95e6355dfbe6850ec16a65389c3e552a
parent4f569ab9d10b71183257e9facc5e09f0861cf9c6 (diff)
boilerplate-gl: Remove incorrectly used GLX_DOUBLEBUFFER attribute.
This attribute requires an argument which we weren't actually passing. Meanwhile, there's nothing in the gl boilerplate that requires anything double-buffered so we fix this by just dropping it.
-rw-r--r--boilerplate/cairo-boilerplate-gl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/boilerplate/cairo-boilerplate-gl.c b/boilerplate/cairo-boilerplate-gl.c
index 8f3669a0..04962243 100644
--- a/boilerplate/cairo-boilerplate-gl.c
+++ b/boilerplate/cairo-boilerplate-gl.c
@@ -70,13 +70,11 @@ _cairo_boilerplate_gl_create_surface (const char *name,
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
GLX_ALPHA_SIZE, 1,
- GLX_DOUBLEBUFFER,
None };
int rgb_attribs[] = { GLX_RGBA,
GLX_RED_SIZE, 1,
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
- GLX_DOUBLEBUFFER,
None };
XVisualInfo *visinfo;
GLXContext gl_ctx;