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 6934e8bc58baacbe074b94a54cc01b6e8f939737..daea80c614cb2a422dd6fe34e07d093338a3b9cb 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc |
@@ -547,6 +547,9 @@ class GLES2DecoderImpl : public GLES2Decoder, public ErrorStateClient { |
void RestoreActiveTextureUnitBinding(unsigned int target) const override { |
state_.RestoreActiveTextureUnitBinding(target); |
} |
+ void RestoreBufferBinding(unsigned int target) const override { |
+ state_.RestoreBufferBinding(target); |
+ } |
void RestoreBufferBindings() const override { |
state_.RestoreBufferBindings(); |
} |
@@ -557,6 +560,9 @@ class GLES2DecoderImpl : public GLES2Decoder, public ErrorStateClient { |
void RestoreTextureUnitBindings(unsigned unit) const override { |
state_.RestoreTextureUnitBindings(unit, NULL); |
} |
+ void RestoreVertexAttribArray(unsigned index) override { |
+ RestoreStateForAttrib(index, true); |
+ } |
void RestoreFramebufferBindings() const override; |
void RestoreRenderbufferBindings() override; |
void RestoreTextureState(unsigned service_id) const override; |