From 9ef9e0ecf95c575479c8b6a3f1da10ce46575f3c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 19 Oct 2011 21:16:58 -0400 Subject: [PATCH] simple-egl: Remove leftover wl_visual variable --- clients/simple-egl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 3524137..95604de 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.c @@ -35,7 +35,6 @@ struct display { struct wl_display *display; - struct wl_visual *premultiplied_argb_visual; struct wl_compositor *compositor; struct wl_shell *shell; struct { @@ -192,7 +191,6 @@ static void create_surface(struct window *window) { struct display *display = window->display; - struct wl_visual *visual; EGLBoolean ret; static const EGLint surface_attribs[] = { EGL_ALPHA_FORMAT, EGL_ALPHA_FORMAT_PRE, @@ -200,7 +198,6 @@ create_surface(struct window *window) }; window->surface = wl_compositor_create_surface(display->compositor); - visual = display->premultiplied_argb_visual; window->native = wl_egl_window_create(window->surface, window->geometry.width, -- 2.7.4