From 5c554a739bd305581d4bc6019c9d1e4b347aad4b Mon Sep 17 00:00:00 2001 From: Ravi Nanjundappa Date: Mon, 12 May 2014 14:59:03 +0530 Subject: [PATCH] vg: Use EGL_NONE and GLX_NONE in place of None Use EGL_NONE in EGL section and GLX_NONE in GLX section instead of None in cairo-boilerplate-vg.c Signed-off-by: Ravi Nanjundappa Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55805 --- boilerplate/cairo-boilerplate-vg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boilerplate/cairo-boilerplate-vg.c b/boilerplate/cairo-boilerplate-vg.c index ee32b3c..6927657 100644 --- a/boilerplate/cairo-boilerplate-vg.c +++ b/boilerplate/cairo-boilerplate-vg.c @@ -87,7 +87,7 @@ _cairo_boilerplate_vg_create_surface_glx (const char *name, GLX_BLUE_SIZE, 1, GLX_ALPHA_SIZE, 1, GLX_DOUBLEBUFFER, - None + GLX_NONE }; int rgb_attribs[] = { GLX_RGBA, @@ -95,7 +95,7 @@ _cairo_boilerplate_vg_create_surface_glx (const char *name, GLX_GREEN_SIZE, 1, GLX_BLUE_SIZE, 1, GLX_DOUBLEBUFFER, - None + GLX_NONE }; XVisualInfo *vi; Display *dpy; @@ -215,7 +215,7 @@ _cairo_boilerplate_vg_create_surface_egl (const char *name, EGL_ALPHA_SIZE, 8, EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, EGL_RENDERABLE_TYPE, EGL_OPENVG_BIT, - None + EGL_NONE }; int rgb_attribs[] = { EGL_RED_SIZE, 8, @@ -225,7 +225,7 @@ _cairo_boilerplate_vg_create_surface_egl (const char *name, EGL_VG_ALPHA_FORMAT, EGL_VG_ALPHA_FORMAT_PRE_BIT, EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, EGL_RENDERABLE_TYPE, EGL_OPENVG_BIT, - None + EGL_NONE }; int dummy_attribs[] = { EGL_WIDTH, 8, EGL_HEIGHT, 8, -- 1.7.9.5