[Mesa-dev] [PATCH] egl/dri2: Log a warning if no platforms are enabled.

Anuj Phogat anuj.phogat at gmail.com
Wed Dec 3 23:24:25 PST 2014


On Thu, Dec 4, 2014 at 6:17 AM, Matt Turner <mattst88 at gmail.com> wrote:
>
> ---
> The number of times I've wondered why piglit/gbm wasn't working...
>
>  src/egl/drivers/dri2/egl_dri2.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
> index d795a2f..2a6811c 100644
> --- a/src/egl/drivers/dri2/egl_dri2.c
> +++ b/src/egl/drivers/dri2/egl_dri2.c
> @@ -659,6 +659,7 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp)
>  #endif
>
>     default:
> +      _eglLog(_EGL_WARNING, "No EGL platform enabled.");
>        return EGL_FALSE;
>     }
>  }
> --
> 2.0.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>


More information about the mesa-dev mailing list