From 12d22d8fc8244ec1fb353bb01ea7be828eafee00 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 26 Jun 2014 10:51:20 -0400 Subject: [PATCH] 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 --- src/bin/e_comp_wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 1b8d66d04..a806de829 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -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) {