Prefix some pixels functions with rgba8_

This commit is contained in:
Anthony Ramine 2018-11-15 10:04:52 +01:00
parent adf363a208
commit a5779ad372
9 changed files with 15 additions and 15 deletions

View file

@ -635,7 +635,7 @@ impl<VR: WebVRRenderHandler + 'static> WebGLThread<VR> {
let src_slice = &orig_pixels[src_start..src_start + stride];
(&mut pixels[dst_start..dst_start + stride]).clone_from_slice(&src_slice[..stride]);
}
pixels::byte_swap_colors_inplace(&mut pixels);
pixels::rgba8_byte_swap_colors_inplace(&mut pixels);
pixels
}