| 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 39e0a2954c987119b03744e8848c02faffce1ff9..cc1471b221e94778e1e0e1caf79c498605795a70 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
|
| @@ -7056,7 +7056,8 @@ bool GLES2DecoderImpl::CheckCurrentProgramForUniform(
|
| if (!CheckCurrentProgram(function_name)) {
|
| return false;
|
| }
|
| - return location != -1;
|
| + return !state_.current_program->IsInactiveUniformLocationByFakeLocation(
|
| + location);
|
| }
|
|
|
| bool GLES2DecoderImpl::CheckDrawingFeedbackLoops() {
|
|
|