render: sync before rendering single-pixel buffer
This commit is contained in:
parent
d0f124a6ba
commit
aaed003ec8
1 changed files with 1 additions and 0 deletions
|
|
@ -405,6 +405,7 @@ impl Renderer<'_> {
|
|||
Some(bounds) => rect.intersect(*bounds),
|
||||
};
|
||||
if !rect.is_empty() {
|
||||
self.base.ops.push(GfxApiOpt::Sync);
|
||||
self.base.fill_boxes(&[rect], color);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue