summaryrefslogtreecommitdiff
path: root/boilerplate
diff options
context:
space:
mode:
authorRavi Nanjundappa <nravi.n@samsung.com>2014-05-15 15:59:58 +0530
committerBryce Harrington <b.harrington@samsung.com>2014-05-16 11:54:43 -0700
commit69e10bc8b53792f58e06387542c4eeeca52795c9 (patch)
treebb6ee155d94e78261fb5d9210f6e1c3b0196a89d /boilerplate
parent247cfaaa2562d28ee39a5a35eea9772ee365937b (diff)
downloadcairo-69e10bc8b53792f58e06387542c4eeeca52795c9.tar.gz
glx: Use GLX_NONE in place of None
Use "GLX_NONE" in rgb and rgba attributes instead of "None" in cairo-boilerplate-glx.c Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com> Reviewed-by: Bryce Harrington <b.harrington@samsung.com>
Diffstat (limited to 'boilerplate')
-rw-r--r--boilerplate/cairo-boilerplate-glx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/boilerplate/cairo-boilerplate-glx.c b/boilerplate/cairo-boilerplate-glx.c
index 06436446a..3d582151e 100644
--- a/boilerplate/cairo-boilerplate-glx.c
+++ b/boilerplate/cairo-boilerplate-glx.c
@@ -82,13 +82,13 @@ _cairo_boilerplate_gl_create_surface (const char *name,
GLX_BLUE_SIZE, 1,
GLX_ALPHA_SIZE, 1,
GLX_DOUBLEBUFFER,
- None };
+ GLX_NONE };
int rgb_attribs[] = { GLX_RGBA,
GLX_RED_SIZE, 1,
GLX_GREEN_SIZE, 1,
GLX_BLUE_SIZE, 1,
GLX_DOUBLEBUFFER,
- None };
+ GLX_NONE };
XVisualInfo *visinfo;
GLXContext ctx;
gl_target_closure_t *gltc;
@@ -236,7 +236,7 @@ _cairo_boilerplate_gl_create_window (const char *name,
GLX_BLUE_SIZE, 1,
GLX_ALPHA_SIZE, 1,
GLX_DOUBLEBUFFER,
- None };
+ GLX_NONE };
gltc = calloc (1, sizeof (gl_target_closure_t));
*closure = gltc;
@@ -268,7 +268,7 @@ _cairo_boilerplate_gl_create_window_msaa (const char *name,
GLX_SAMPLES, 4,
GLX_SAMPLE_BUFFERS, 1,
GLX_DOUBLEBUFFER,
- None };
+ GLX_NONE };
gltc = calloc (1, sizeof (gl_target_closure_t));
*closure = gltc;
@@ -299,7 +299,7 @@ _cairo_boilerplate_gl_create_window_db (const char *name,
GLX_BLUE_SIZE, 1,
GLX_ALPHA_SIZE, 1,
GLX_DOUBLEBUFFER,
- None };
+ GLX_NONE };
gltc = calloc (1, sizeof (gl_target_closure_t));
*closure = gltc;