diff options
Diffstat (limited to 'gpu/gpu.gyp')
-rw-r--r-- | gpu/gpu.gyp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp index ef39e53..b52d1fe 100644 --- a/gpu/gpu.gyp +++ b/gpu/gpu.gyp @@ -40,6 +40,7 @@ 'command_buffer/service/texture_manager.h', 'command_buffer/service/texture_manager.cc', ], + 'enable_shader_translation%': 0, }, 'targets': [ { @@ -269,9 +270,7 @@ '../build/linux/system.gyp:gtk', ], }], - # TODO(gman): Change this condition to be false if the backend is - # native OpenGL ES 2.0 and false if the backend is OpenGL. - ['1==1', { + ['enable_shader_translation==1', { 'defines': [ 'GLES2_GPU_SERVICE_TRANSLATE_SHADER', ], |