diff options
author | Marek Olšák <[email protected]> | 2016-06-03 11:25:19 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-06-03 11:33:45 +0200 |
commit | 8c361e84ad010552a42593fad4130befc58e9a6a (patch) | |
tree | 1a0b95b095bc6871342dfb0c3a68d1830815146c /src/egl/main/egldisplay.c | |
parent | 9bdbb9c0e0d0fb73831c590eb9626a3298f55982 (diff) |
Revert "egl: Check if API is supported when using eglBindAPI."
This reverts commit e8b38ca202fbe8c281aeb81a4b64256983f185e0.
It broke Glamor for Gallium at least.
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; |