Re: [Mesa-dev] [PATCH] egl_dri2: Don't use gbm_dri_device when its not there

2013-10-23 Thread jorgen.lind
On Tuesday, October 22, 2013 12:25:20 PM Chad Versace wrote: > I'm unsure if it makes sense to build EGL with Wayland support > but without GBM support. That is, to configure Mesa with > >--with-egl-platforms=wayland # no drm Yeah, I was surprised that this code was being compiled at all. My

Re: [Mesa-dev] [PATCH] egl_dri2: Don't use gbm_dri_device when its not there

2013-10-22 Thread Chad Versace
I'm unsure if it makes sense to build EGL with Wayland support but without GBM support. That is, to configure Mesa with --with-egl-platforms=wayland # no drm Also, the patch is corrupt. `git am` is unable to apply it. Did you copy-paste the patch into your email client? Instead, use `git send

[Mesa-dev] [PATCH] egl_dri2: Don't use gbm_dri_device when its not there

2013-10-22 Thread jorgen.lind
From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Tue, 22 Oct 2013 09:21:05 +0200 Subject: [PATCH] Don't use gbm_dri_device when its not there --- src/egl/drivers/dri2/egl_dri2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c inde