mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
glFlush after inserting sync point
This commit is contained in:
parent
480ea65989
commit
609d3f6c28
@ -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_++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user