[Mesa-dev] [PATCH] egl/dri2: Log a warning if no platforms are enabled.
Matt Turner
mattst88 at gmail.com
Wed Dec 3 16:47:18 PST 2014
---
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
More information about the mesa-dev
mailing list