summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorHal Gentz <[email protected]>2019-10-18 01:03:30 -0600
committerAdam Jackson <[email protected]>2019-10-18 18:41:51 +0000
commit4ef2c53755686a22563dc2be4592d53b1cc96dc7 (patch)
treedada0a669033dda1a3d8654bdbd11b2378e845ca /src/egl/main
parent9a7a92c1ec1c96b25995a530405fd8de298a221f (diff)
Revert "egl: Configs w/o double buffering support have no `EGL_WINDOW_BIT`."
This reverts commit 075a96aa926e6e89795f95a6a59693f44d9ac970.
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/eglconfig.c10
-rw-r--r--src/egl/main/eglconfig.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/src/egl/main/eglconfig.c b/src/egl/main/eglconfig.c
index b15ba758278..b3362363664 100644
--- a/src/egl/main/eglconfig.c
+++ b/src/egl/main/eglconfig.c
@@ -71,16 +71,6 @@ _eglInitConfig(_EGLConfig *conf, _EGLDisplay *disp, EGLint id)
conf->ComponentType = EGL_COLOR_COMPONENT_TYPE_FIXED_EXT;
}
-/*
- * Wipe the configs list and return the old list
- */
-_EGLArray *
-_eglWipeConfigs(_EGLDisplay *disp)
-{
- _EGLArray *configs = disp->Configs;
- disp->Configs = NULL;
- return configs;
-}
/**
* Link a config to its display and return the handle of the link.
diff --git a/src/egl/main/eglconfig.h b/src/egl/main/eglconfig.h
index e9b87d98a9d..064187ff1dd 100644
--- a/src/egl/main/eglconfig.h
+++ b/src/egl/main/eglconfig.h
@@ -179,9 +179,6 @@ _eglGetConfigKey(const _EGLConfig *conf, EGLint key)
extern void
_eglInitConfig(_EGLConfig *config, _EGLDisplay *disp, EGLint id);
-extern _EGLArray *
-_eglWipeConfigs(_EGLDisplay *disp);
-
extern EGLConfig
_eglLinkConfig(_EGLConfig *conf);