forked from enlightenment/enlightenment
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:
parent
f056e7af62
commit
12d22d8fc8
|
@ -295,7 +295,7 @@ e_comp_wl_init(void)
|
||||||
* calling eglTerminate. Let's hack around that.... */
|
* calling eglTerminate. Let's hack around that.... */
|
||||||
vendor =
|
vendor =
|
||||||
(const char *)eglQueryString(_e_wl_comp->egl.display, EGL_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;
|
black_listed = EINA_TRUE;
|
||||||
if (black_listed)
|
if (black_listed)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue