From: Emil Velikov Date: Mon, 13 Jul 2015 21:05:46 +0000 (+0100) Subject: egl: remove final references of platform_null X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32debea337755cf15550844955b14c29bb3006fa;p=mesa.git egl: remove final references of platform_null Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am index 9030d272b53..ec0f88e0424 100644 --- a/src/egl/main/Makefile.am +++ b/src/egl/main/Makefile.am @@ -64,10 +64,6 @@ AM_CFLAGS += -DHAVE_DRM_PLATFORM libEGL_la_LIBADD += ../../gbm/libgbm.la endif -if HAVE_EGL_PLATFORM_NULL -AM_CFLAGS += -DHAVE_NULL_PLATFORM -endif - if HAVE_EGL_PLATFORM_SURFACELESS AM_CFLAGS += -DHAVE_SURFACELESS_PLATFORM endif diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c index 24a0c7e61a7..f29f54ebbc7 100644 --- a/src/egl/main/egldisplay.c +++ b/src/egl/main/egldisplay.c @@ -69,7 +69,6 @@ static const struct { { _EGL_PLATFORM_X11, "x11" }, { _EGL_PLATFORM_WAYLAND, "wayland" }, { _EGL_PLATFORM_DRM, "drm" }, - { _EGL_PLATFORM_NULL, "null" }, { _EGL_PLATFORM_ANDROID, "android" }, { _EGL_PLATFORM_HAIKU, "haiku" }, { _EGL_PLATFORM_SURFACELESS, "surfaceless" }, diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 8d3393564bf..2d34fb383cc 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -48,7 +48,6 @@ enum _egl_platform_type { _EGL_PLATFORM_X11, _EGL_PLATFORM_WAYLAND, _EGL_PLATFORM_DRM, - _EGL_PLATFORM_NULL, _EGL_PLATFORM_ANDROID, _EGL_PLATFORM_HAIKU, _EGL_PLATFORM_SURFACELESS,