From: Bill Spitzak Date: Sat, 17 Mar 2012 20:43:52 +0000 (-0700) Subject: weston: Don't ask for EGL depth buffer if not needed X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d273e28567c6b1784b729284868951bc104ae76f;p=profile%2Fivi%2Fweston-ivi-shell.git 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. --- diff --git a/clients/simple-egl.c b/clients/simple-egl.c index 9893a82..c0e2855 100644 --- a/clients/simple-egl.c +++ b/clients/simple-egl.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 }; diff --git a/src/compositor-wayland.c b/src/compositor-wayland.c index b4c55a8..1baf55e 100644 --- a/src/compositor-wayland.c +++ b/src/compositor-wayland.c @@ -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 }; diff --git a/src/compositor-x11.c b/src/compositor-x11.c index c3eaab7..0b7da9b 100644 --- a/src/compositor-x11.c +++ b/src/compositor-x11.c @@ -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 };