diff options
Diffstat (limited to 'src/egl/main/egldisplay.c')
-rw-r--r-- | src/egl/main/egldisplay.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/egl/main/egldisplay.c b/src/egl/main/egldisplay.c index 907a60747d0..f6db03ab50c 100644 --- a/src/egl/main/egldisplay.c +++ b/src/egl/main/egldisplay.c @@ -240,7 +240,6 @@ _EGLDisplay * _eglFindDisplay(_EGLPlatformType plat, void *plat_dpy) { _EGLDisplay *dpy; - _EGLThreadInfo *thread = _eglGetCurrentThread(); if (plat == _EGL_INVALID_PLATFORM) return NULL; @@ -266,13 +265,9 @@ _eglFindDisplay(_EGLPlatformType plat, void *plat_dpy) /* add to the display list */ dpy->Next = _eglGlobal.DisplayList; _eglGlobal.DisplayList = dpy; - dpy->ThreadList = NULL; } } - thread->Next = dpy->ThreadList; - dpy->ThreadList = thread; - mtx_unlock(_eglGlobal.Mutex); return dpy; |