Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
index b1039c98a9deef97378f9c15553905196c95305a..ea923290ac72d7c9c561ec3e648006b0d4a6740b 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -8022,8 +8022,6 @@ void GLES2DecoderImpl::DoLinkProgram(GLuint program_id) { |
Program::kCountAll : Program::kCountOnlyStaticallyUsed, |
shader_cache_callback_)) { |
if (program == state_.current_program.get()) { |
- if (workarounds().use_current_program_after_successful_link) |
- glUseProgram(program->service_id()); |
if (workarounds().clear_uniforms_before_first_program_use) |
program_manager()->ClearUniforms(program); |
} |