diff options
author | Eric Engestrom <[email protected]> | 2019-06-25 13:47:04 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-10 13:48:23 +0000 |
commit | a38e21d6683aeecb51aea4f933a77c6e7f1a6179 (patch) | |
tree | 503a253030dbe300033cf2e3dedf94312825d997 /src/egl/main/egldisplay.c | |
parent | e66e0c0c2d017722f6ffba114a140fec683652e0 (diff) |
egl: always compile surfaceless
It has no dependencies and costs virtually nothing to build. There is
no downside to enabling it unconditionally, so let's do just that.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3161>
Diffstat (limited to 'src/egl/main/egldisplay.c')
-rw-r--r-- | src/egl/main/egldisplay.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c index 8cf9cb83a91..2cafc74db6f 100644 --- a/src/egl/main/egldisplay.c +++ b/src/egl/main/egldisplay.c @@ -534,7 +534,6 @@ _eglGetWaylandDisplay(struct wl_display *native_display, } #endif /* HAVE_WAYLAND_PLATFORM */ -#ifdef HAVE_SURFACELESS_PLATFORM _EGLDisplay* _eglGetSurfacelessDisplay(void *native_display, const EGLAttrib *attrib_list) @@ -554,7 +553,6 @@ _eglGetSurfacelessDisplay(void *native_display, return _eglFindDisplay(_EGL_PLATFORM_SURFACELESS, native_display, attrib_list); } -#endif /* HAVE_SURFACELESS_PLATFORM */ #ifdef HAVE_ANDROID_PLATFORM _EGLDisplay* |