Index: trunk/src/gpu/command_buffer/service/mailbox_synchronizer.cc |
=================================================================== |
--- trunk/src/gpu/command_buffer/service/mailbox_synchronizer.cc (revision 258964) |
+++ trunk/src/gpu/command_buffer/service/mailbox_synchronizer.cc (working copy) |
@@ -174,6 +174,8 @@ |
textures_.insert(std::make_pair(texture, TextureVersion(group))); |
} |
} |
+ // Make sure all write fences are flushed. |
+ glFlush(); |
} |
void MailboxSynchronizer::UpdateTextureLocked(Texture* texture, |