From a0f6a1194464611bd93491c6d066b07db0615f27 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 9 Jul 2018 21:15:36 +0100 Subject: [PATCH] egl: drop unused _EGL_BUILT_IN_DRIVER_DRI2 Unused since b174a1ae720cb404738c "egl: Simplify the "driver" interface". Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt --- src/egl/Android.mk | 1 - src/egl/Makefile.am | 3 +-- src/egl/meson.build | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/egl/Android.mk b/src/egl/Android.mk index 11128ded93c..42b391e6d86 100644 --- a/src/egl/Android.mk +++ b/src/egl/Android.mk @@ -40,7 +40,6 @@ LOCAL_SRC_FILES := \ LOCAL_CFLAGS := \ -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_ANDROID \ - -D_EGL_BUILT_IN_DRIVER_DRI2 \ -DHAVE_ANDROID_PLATFORM LOCAL_C_INCLUDES := \ diff --git a/src/egl/Makefile.am b/src/egl/Makefile.am index 485f145cece..bf7f87015b7 100644 --- a/src/egl/Makefile.am +++ b/src/egl/Makefile.am @@ -120,8 +120,7 @@ AM_CFLAGS += \ -I$(top_srcdir)/src/gbm/backends/dri \ -I$(top_builddir)/src/egl/wayland/wayland-drm \ -I$(top_srcdir)/src/egl/wayland/wayland-drm \ - -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \ - -D_EGL_BUILT_IN_DRIVER_DRI2 + -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" nodist_libEGL_common_la_SOURCES = \ $(dri2_backend_GENERATED_FILES) diff --git a/src/egl/meson.build b/src/egl/meson.build index 06922c6c3cf..e11e589b945 100644 --- a/src/egl/meson.build +++ b/src/egl/meson.build @@ -93,7 +93,6 @@ if with_dri2 ) c_args_for_egl += [ '-DDEFAULT_DRIVER_DIR="@0@"'.format(dri_search_path), - '-D_EGL_BUILT_IN_DRIVER_DRI2', ] endif -- 2.30.2