Enable WebGL
Enabling the `experimental_webgl_enabled` preference allows you to create a WebGL context from within atom-shell. While not necessarily important for the Atom editor, for others to use atom-shell in substitution for node-webkit this is a potentially useful feature, e.g. for packaged HTML5 games.
This commit is contained in:
parent
444a094eda
commit
da0eee6298
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ void AtomBrowserClient::OverrideWebkitPrefs(
|
||||||
prefs->application_cache_enabled = true;
|
prefs->application_cache_enabled = true;
|
||||||
prefs->allow_universal_access_from_file_urls = true;
|
prefs->allow_universal_access_from_file_urls = true;
|
||||||
prefs->allow_file_access_from_file_urls = true;
|
prefs->allow_file_access_from_file_urls = true;
|
||||||
prefs->experimental_webgl_enabled = false;
|
prefs->experimental_webgl_enabled = true;
|
||||||
prefs->allow_displaying_insecure_content = true;
|
prefs->allow_displaying_insecure_content = true;
|
||||||
prefs->allow_running_insecure_content = true;
|
prefs->allow_running_insecure_content = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue