enable webgl

This commit is contained in:
Artem Anufrij 2018-02-11 20:32:36 +01:00
parent 3595041e99
commit af33e97430

View file

@ -62,7 +62,9 @@ namespace Webpin.Widgets {
cookie_manager.set_accept_policy (WebKit.CookieAcceptPolicy.ALWAYS);
cookie_manager.set_persistent_storage (cookie_db + "cookies.db", WebKit.CookiePersistentStorage.SQLITE);
web_view = new WebKit.WebView.with_context (WebKit.WebContext.get_default ());
web_view = new WebKit.WebView.with_context (WebKit.WebContext.get_default ()) {
settings = new WebKit.Settings () { enable_webgl = true }
};
web_view.load_uri (desktop_file.url);
container = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);