mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove as_mut_slice() calls.
This commit is contained in:
parent
a862479ca8
commit
9185c3de79
6 changed files with 7 additions and 7 deletions
|
@ -100,7 +100,7 @@ impl WebGLPaintTask {
|
|||
gl::RGBA, gl::UNSIGNED_BYTE);
|
||||
|
||||
// rgba -> bgra
|
||||
byte_swap(pixels.as_mut_slice());
|
||||
byte_swap(&mut pixels);
|
||||
chan.send(pixels).unwrap();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue