egl/dri2: Log a warning if no platforms are enabled.
authorMatt Turner <mattst88@gmail.com>
Thu, 4 Dec 2014 00:32:39 +0000 (16:32 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 4 Dec 2014 23:13:51 +0000 (15:13 -0800)
commit0b4a6886915571540cfa26fec6fd460d3b81216f
treef2d374e16e0bd982982b55a312f76cbcc2a83974
parentca19e89d6e0dd6bf4196154dc2fd6f4ffc31931f
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>
src/egl/drivers/dri2/egl_dri2.c