diff --git a/configure.ac b/configure.ac
index 480018ac536..6636ee4769f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1763,9 +1763,6 @@ for plat in $egl_platforms; do
AC_MSG_ERROR([EGL platform surfaceless requires libdrm >= $LIBDRM_REQUIRED])
;;
- android|gdi|null)
- ;;
-
*)
AC_MSG_ERROR([EGL platform '$plat' does not exist])
;;
diff --git a/docs/egl.html b/docs/egl.html
index 3ab1a6018fd..bc21c6c4894 100644
--- a/docs/egl.html
+++ b/docs/egl.html
@@ -88,10 +88,10 @@ types such as EGLNativeDisplayType or
EGLNativeWindowType defined for.
The available platforms are x11, drm,
-wayland, null, android,
-haiku, and gdi. The android platform
+wayland, surfaceless, android,
+and haiku. The android platform
can only be built as a system component, part of AOSP, while the
-haiku and gdi platforms can only be built with SCons.
+haiku platform can only be built with SCons.
Unless for special needs, the build system should
select the right platforms automatically.