diff options
author | kbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-11 18:57:12 +0000 |
---|---|---|
committer | kbr@google.com <kbr@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-11 18:57:12 +0000 |
commit | 9f0e212ec6916131756f6742fafb47b6ffded336 (patch) | |
tree | 8a4c6002784fd2c3144fdfa4f882dad6591553bf /chrome/renderer | |
parent | 5b6879af3e7647e7dec5a90472ffc3ae6e187844 (diff) | |
download | chromium_src-9f0e212ec6916131756f6742fafb47b6ffded336.zip chromium_src-9f0e212ec6916131756f6742fafb47b6ffded336.tar.gz chromium_src-9f0e212ec6916131756f6742fafb47b6ffded336.tar.bz2 |
Enable GLSL shader translator by default. With this change, Chrome's
WebGL implementation requires GLSL ES compliant shaders. Now pass
--disable-glsl-translator on command line to disable the translator.
BUG=none
TEST=ran WebGL demos
Review URL: http://codereview.chromium.org/3121005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55764 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc index 61060b3..6d2ada2 100644 --- a/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc +++ b/chrome/renderer/webgraphicscontext3d_command_buffer_impl.cc @@ -64,7 +64,7 @@ bool WebGraphicsContext3DCommandBufferImpl::initialize( return false; // TODO(gman): Remove this. const CommandLine& command_line = *CommandLine::ForCurrentProcess(); - if (!command_line.HasSwitch(switches::kEnableGLSLTranslator)) { + if (command_line.HasSwitch(switches::kDisableGLSLTranslator)) { DisableShaderTranslation(context_); } return true; |