summaryrefslogtreecommitdiff
path: root/clients/simple-egl.c
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>2012-03-17 13:43:52 -0700
committerKristian Høgsberg <krh@bitplanet.net>2012-03-20 22:43:56 -0400
commitd273e28567c6b1784b729284868951bc104ae76f (patch)
treec0953869a97c55cdd3fca4a3fdd2618a9de70355 /clients/simple-egl.c
parent23fdeedf825315e43a8bafb8aabcca79ec6b45b2 (diff)
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.
Diffstat (limited to 'clients/simple-egl.c')
-rw-r--r--clients/simple-egl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/clients/simple-egl.c b/clients/simple-egl.c
index 9893a82f..c0e28555 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
};