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.
This commit is contained in:
Bill Spitzak 2012-03-17 13:43:52 -07:00 committed by Kristian Høgsberg
parent 23fdeedf82
commit d273e28567
3 changed files with 0 additions and 3 deletions

View File

@ -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
};

View File

@ -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
};

View File

@ -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
};