devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=12d22d8fc8244ec1fb353bb01ea7be828eafee00

commit 12d22d8fc8244ec1fb353bb01ea7be828eafee00
Author: Chris Michael <[email protected]>
Date:   Thu Jun 26 10:51:20 2014 -0400

    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 <[email protected]>
---
 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 1b8d66d..a806de8 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)
           {

-- 


Reply via email to