From: Matt Turner Date: Thu, 4 Dec 2014 00:32:39 +0000 (-0800) Subject: egl/dri2: Log a warning if no platforms are enabled. X-Git-Tag: android-x86-4.4-r3~1564 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0b4a6886915571540cfa26fec6fd460d3b81216f;p=android-x86%2Fexternal-mesa.git 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 --- diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index d795a2fbdf3..2a6811ce3f5 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; } }