| Index: gpu/command_buffer/build_gles2_cmd_buffer.py
|
| diff --git a/gpu/command_buffer/build_gles2_cmd_buffer.py b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| index 23dacf128fbfe07febd453c5d16bcf16587b3316..51b170748f5e40e49cc4ecac874cf17c9cfcc052 100755
|
| --- a/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| +++ b/gpu/command_buffer/build_gles2_cmd_buffer.py
|
| @@ -3951,7 +3951,8 @@ class GENnHandler(TypeHandler):
|
| MakeIds(this, 0, %(args)s);
|
| %(name)sHelper(%(args)s);
|
| helper_->%(name)sImmediate(%(args)s);
|
| - helper_->CommandBufferHelper::Flush();
|
| + if (share_group_->bind_generates_resource())
|
| + helper_->CommandBufferHelper::Flush();
|
| %(log_code)s
|
| CheckGLError();
|
| }
|
|
|