Enabel WebGL. - surf - Surf web browser.
       
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit c75713c06bf6f3a5a6f4c4e9d610fe35a22432c1
 (DIR) parent a7dcfcc817d6ea1747488fcbf8b0172177fd6c26
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Fri, 21 Apr 2017 21:34:22 +0200
       
       Enabel WebGL.
       
       Diffstat:
         config.def.h                        |       1 +
         surf.c                              |       2 ++
       
       2 files changed, 3 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/config.def.h b/config.def.h
       @@ -52,6 +52,7 @@ static Bool enablemediasource     = FALSE; /* Allow JS to generate media
                                                    * streams. */
        static Bool enablewebaudio        = FALSE; /* Allow JS to generate wav
                                                    * streams. */
       +static Bool enablewebgl           = TRUE;
        static Bool dnsprefetching        = FALSE; /* DNS prefetching is insecure,
                                                    * so disabled. */
        static Bool offlineappcache       = FALSE; /* Allow offline web application
 (DIR) diff --git a/surf.c b/surf.c
       @@ -1094,6 +1094,8 @@ newclient(void)
                g_object_set(G_OBJECT(settings),
                             "enable-webaudio", enablewebaudio, NULL);
                g_object_set(G_OBJECT(settings),
       +                     "enable-webgl", enablewebgl, NULL);
       +        g_object_set(G_OBJECT(settings),
                             "enable-developer-extras", enableinspector, NULL);
                g_object_set(G_OBJECT(settings),
                             "enable-default-context-menu", kioskmode ^ 1, NULL);