Set scissoring properly in text::Pipeline
This commit is contained in:
parent
21886d7e9c
commit
ddbf93a82f
2 changed files with 10 additions and 1 deletions
|
|
@ -291,7 +291,8 @@ impl Backend {
|
|||
}
|
||||
|
||||
if !layer.text.is_empty() {
|
||||
self.text_pipeline.render(text_layer, &mut render_pass);
|
||||
self.text_pipeline
|
||||
.render(text_layer, bounds, &mut render_pass);
|
||||
|
||||
text_layer += 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue