aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2017-10-18 16:31:23 +0100
committerEric Engestrom <[email protected]>2017-10-18 17:25:41 +0100
commitd7e769abec732fd23b93145a519065c82b2ccb2b (patch)
treed6d7a56b93e2943af2c1a9fb455505a93128fb96 /src/egl/drivers
parent3012885b3fa78ad767c3f3f7299be85b4505b9d9 (diff)
egl: drop always-false TestOnly option
Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index b1df0cb1a91..0750dc19469 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -901,10 +901,6 @@ dri2_initialize(_EGLDriver *drv, _EGLDisplay *disp)
if (disp->Options.UseFallback)
return EGL_FALSE;
- /* Nothing to initialize for a test only display */
- if (disp->Options.TestOnly)
- return EGL_TRUE;
-
switch (disp->Platform) {
#ifdef HAVE_SURFACELESS_PLATFORM
case _EGL_PLATFORM_SURFACELESS: