simple-egl: Remove leftover wl_visual variable

dev
Kristian Høgsberg 13 years ago
parent cbd06f94d1
commit 9ef9e0ecf9
  1. 3
      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,

Loading…
Cancel
Save