summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/gles2_implementation.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/client/gles2_implementation.cc')
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 86b3bc4..aa94fbb 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -691,6 +691,7 @@ void GLES2Implementation::SwapBuffers() {
}
helper_->SwapBuffers();
swap_buffers_tokens_.push(helper_->InsertToken());
+ helper_->YieldScheduler();
Flush();
}