summaryrefslogtreecommitdiffstats
path: root/gpu/gpu.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/gpu.gyp')
-rw-r--r--gpu/gpu.gyp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
index b52d1fe..ef39e53 100644
--- a/gpu/gpu.gyp
+++ b/gpu/gpu.gyp
@@ -40,7 +40,6 @@
'command_buffer/service/texture_manager.h',
'command_buffer/service/texture_manager.cc',
],
- 'enable_shader_translation%': 0,
},
'targets': [
{
@@ -270,7 +269,9 @@
'../build/linux/system.gyp:gtk',
],
}],
- ['enable_shader_translation==1', {
+ # 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', {
'defines': [
'GLES2_GPU_SERVICE_TRANSLATE_SHADER',
],