weston: Don't ask for EGL depth buffer if not needed

This makes the compositor and demo clients work on the current nouveau
nvfx driver. Obviously does not fix any clients that actually want a
depth buffer, but this does allow more people to at least try wayland.
Bill Spitzak 13 years ago committed by Kristian Høgsberg
parent 23fdeedf82
commit d273e28567
  1. 1
      clients/simple-egl.c
  2. 1
      src/compositor-wayland.c
  3. 1
      src/compositor-x11.c

@ -100,7 +100,6 @@ init_egl(struct display *display)
EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1,
EGL_ALPHA_SIZE, 1,
EGL_DEPTH_SIZE, 1,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};

@ -267,7 +267,6 @@ wayland_compositor_init_egl(struct wayland_compositor *c)
EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1,
EGL_ALPHA_SIZE, 1,
EGL_DEPTH_SIZE, 1,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};

@ -123,7 +123,6 @@ x11_compositor_init_egl(struct x11_compositor *c)
EGL_RED_SIZE, 1,
EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1,
EGL_DEPTH_SIZE, 1,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};

Loading…
Cancel
Save