提交 1e3d95a8 编写于 作者: A Adam Barth

Merge pull request #585 from jamesr/flush_after_produce

glFlush after inserting sync point
......@@ -50,6 +50,7 @@ mojo::TransferableResourcePtr ResourceManager::CreateTransferableResource(
glGenMailboxCHROMIUM(mailbox);
glProduceTextureCHROMIUM(GL_TEXTURE_2D, mailbox);
GLuint sync_point = glInsertSyncPointCHROMIUM();
glFlush();
mojo::TransferableResourcePtr resource = mojo::TransferableResource::New();
resource->id = next_resource_id_++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册