Skip to content

Commit

Permalink
fix: util inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Aug 9, 2024
1 parent 9c6c283 commit 3ebe1bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,9 @@ pub fn rgb888_to_rgb1555_scalar(rgb888_pixels: &[u8], rgb1555_pixels: &mut [u8])
/// `rgb1555_pixels` must be a multiple of 2.
#[cfg(feature = "simd")]
pub fn rgb888_to_rgb1555_simd(rgb888_pixels: &[u8], rgb1555_pixels: &mut [u8]) {
use boytacean_common::util::interleave_arrays;
use std::simd::u8x16;

use crate::util::interleave_arrays;

const SIMD_WIDTH: usize = 16;

assert!(
Expand Down

0 comments on commit 3ebe1bc

Please sign in to comment.