[gegl] gegl: in init be more precise about setting mipmap-rendering



commit 6869ff21381a53f828896fe660f0a7459ef772ea
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri May 1 19:47:26 2020 +0200

    gegl: in init be more precise about setting mipmap-rendering
    
    Fixing issue #239, as it was if GEGL_MIPMAP_RENDERING was set at all it
    would be enabled, we now behave more like the other environment
    variables and allow turning it off (which for now also continues being
    the default).

 gegl/gegl-init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gegl/gegl-init.c b/gegl/gegl-init.c
index 6482f952c..2dfbbd8d3 100644
--- a/gegl/gegl-init.c
+++ b/gegl/gegl-init.c
@@ -276,7 +276,7 @@ gegl_config_parse_env (GeglConfig *config)
           !strcmp (value, "yes"))
         g_object_set (config, "mipmap-rendering", TRUE, NULL);
       else
-        g_object_set (config, "mipmap-rendering", TRUE, NULL);
+        g_object_set (config, "mipmap-rendering", FALSE, NULL);
     }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]