diff options
author | Matt Turner <mattst88@gmail.com> | 2014-12-03 16:32:39 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2014-12-04 15:13:51 -0800 |
commit | 0b4a6886915571540cfa26fec6fd460d3b81216f (patch) | |
tree | f2d374e16e0bd982982b55a312f76cbcc2a83974 | |
parent | ca19e89d6e0dd6bf4196154dc2fd6f4ffc31931f (diff) | |
download | external_mesa3d-0b4a6886915571540cfa26fec6fd460d3b81216f.zip external_mesa3d-0b4a6886915571540cfa26fec6fd460d3b81216f.tar.gz external_mesa3d-0b4a6886915571540cfa26fec6fd460d3b81216f.tar.bz2 |
egl/dri2: Log a warning if no platforms are enabled.
If you hit this, you didn't compile with --with-egl-platforms=...
Recompile with something like --with-egl-platforms=x11,drm and make
clean and make again.
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |