Update webrender and serde_bytes

This commit is contained in:
Anthony Ramine 2019-10-11 19:40:15 +02:00 committed by Josh Matthews
parent 97d6351202
commit 808c34498b
17 changed files with 77 additions and 70 deletions

View file

@ -172,7 +172,7 @@ impl SurfaceStyle {
repeat_y: bool,
) -> Self {
Self {
surface_data: surface_data.into(),
surface_data: ByteBuf::from(surface_data),
surface_size,
repeat_x,
repeat_y,