From 980c49e6cdddebf85ec0a55df64a3f82c8c94ac6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Fri, 18 Nov 2011 15:24:23 -0500 Subject: [PATCH] window: Remove unused variable --- clients/window.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/window.c b/clients/window.c index 16322ff..ffa01d4 100644 --- a/clients/window.c +++ b/clients/window.c @@ -316,7 +316,6 @@ display_create_egl_image_surface(struct display *display, struct egl_image_surface_data *data; EGLDisplay dpy = display->dpy; cairo_surface_t *surface; - EGLConfig config; cairo_content_t content; data = malloc(sizeof *data); @@ -334,11 +333,9 @@ display_create_egl_image_surface(struct display *display, if (flags & SURFACE_OPAQUE) { data->device = display->rgb_device; - config = display->rgb_config; content = CAIRO_CONTENT_COLOR; } else { data->device = display->argb_device; - config = display->premultiplied_argb_config; content = CAIRO_CONTENT_COLOR_ALPHA; } -- 2.7.4