egl: Enable drm platform by default.
authorChia-I Wu <olv@lunarg.com>
Sun, 19 Sep 2010 09:31:34 +0000 (17:31 +0800)
committerChia-I Wu <olv@lunarg.com>
Sun, 19 Sep 2010 09:35:04 +0000 (17:35 +0800)
This enables EGL_MESA_drm_display for st/egl in the default setup.

configure.ac

index b19bf8fdf20b2937bcf308b2d4eb13a315f110aa..cf743ba9bfb539d87e5fe0895cb5881bb4145134 100644 (file)
@@ -1376,6 +1376,9 @@ case "$with_egl_platforms" in
 yes)
     if test "x$enable_egl" = xyes && test "x$mesa_driver" != xosmesa; then
         EGL_PLATFORMS="x11"
+        if test "$mesa_driver" = dri; then
+            EGL_PLATFORMS="$EGL_PLATFORMS drm"
+        fi
     fi
     ;;
 *)