comp-wl: Only blacklist the actual Nvidia driver

If EGL returns No Vendor, don't blacklist it. Only blacklist the Known
to be Broken NVIDIA driver

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2014-06-26 10:51:20 -04:00
parent f056e7af62
commit 12d22d8fc8
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ e_comp_wl_init(void)
* calling eglTerminate. Let's hack around that.... */
vendor =
(const char *)eglQueryString(_e_wl_comp->egl.display, EGL_VENDOR);
if (!vendor || !strcmp(vendor, "NVIDIA Corporation"))
if ((vendor) && (!strcmp(vendor, "NVIDIA Corporation")))
black_listed = EINA_TRUE;
if (black_listed)
{