Set scissoring properly in text::Pipeline

This commit is contained in:
Héctor Ramón Jiménez 2023-02-08 01:23:40 +01:00
parent 21886d7e9c
commit ddbf93a82f
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 10 additions and 1 deletions

View file

@ -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;
}