gfx: wait for idle if rendering doesn't support explicit sync
This commit is contained in:
parent
80c7a1f47c
commit
12c9b36ded
4 changed files with 7 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ impl Framebuffer {
|
|||
let fd = run_ops(self, ops);
|
||||
if fd.is_none() {
|
||||
unsafe {
|
||||
(gles.glFlush)();
|
||||
(gles.glFinish)();
|
||||
}
|
||||
}
|
||||
Ok(fd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue