Buffer doesn't need to be mutable anymore
This commit is contained in:
parent
e0998be181
commit
ba52cbdba6
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ async fn run() {
|
|||
width: config.width,
|
||||
height: config.height,
|
||||
},
|
||||
&mut buffer,
|
||||
&buffer,
|
||||
Color::rgb(255, 255, 255),
|
||||
&mut cache,
|
||||
)
|
||||
|
|
|
@ -60,7 +60,7 @@ impl TextRenderer {
|
|||
queue: &Queue,
|
||||
atlas: &mut TextAtlas,
|
||||
screen_resolution: Resolution,
|
||||
buffer: &mut cosmic_text::Buffer<'a>,
|
||||
buffer: &cosmic_text::Buffer<'a>,
|
||||
default_color: Color,
|
||||
cache: &mut SwashCache,
|
||||
) -> Result<(), PrepareError> {
|
||||
|
|
Loading…
Reference in a new issue