From 32debea337755cf15550844955b14c29bb3006fa Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 13 Jul 2015 22:05:46 +0100 Subject: [PATCH] egl: remove final references of platform_null Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- src/egl/main/Makefile.am | 4 ---- src/egl/main/egldisplay.c | 1 - src/egl/main/egldisplay.h | 1 - 3 files changed, 6 deletions(-) diff --git a/src/egl/main/Makefile.am b/src/egl/main/Makefile.am index 9030d27..ec0f88e 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 24a0c7e..f29f54e 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 8d33935..2d34fb3 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, -- 2.7.4