egl: always compile surfaceless
[mesa.git] / src / egl / main / eglapi.c
index 85bd05723c8f3485ce159f0d11d93749ae3c5649..e24a2672d0c5375cc86a3060c3c27e51fa28d2fe 100644 (file)
@@ -401,11 +401,9 @@ _eglGetPlatformDisplayCommon(EGLenum platform, void *native_display,
                                   attrib_list);
       break;
 #endif
-#ifdef HAVE_SURFACELESS_PLATFORM
    case EGL_PLATFORM_SURFACELESS_MESA:
       disp = _eglGetSurfacelessDisplay(native_display, attrib_list);
       break;
-#endif
 #ifdef HAVE_ANDROID_PLATFORM
    case EGL_PLATFORM_ANDROID_KHR:
       disp = _eglGetAndroidDisplay(native_display, attrib_list);