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:
parent
23fdeedf82
commit
d273e28567
@ -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…
x
Reference in New Issue
Block a user