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