Skip to content

Commit 3f184f7

Browse files
committed
fix tiled get_word_size()
1 parent 5ef8cb3 commit 3f184f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/tiling.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ impl<
338338
}
339339

340340
impl<
341-
F: FrameBufferOperations<PANEL_ROWS, FB_COLS, NROWS, BITS, FRAME_COUNT>,
341+
F: FrameBufferOperations<PANEL_ROWS, FB_COLS, NROWS, BITS, FRAME_COUNT> + FrameBuffer<PANEL_ROWS, PANEL_COLS, NROWS, BITS, FRAME_COUNT>,
342342
M: PixelRemapper,
343343
const PANEL_ROWS: usize,
344344
const PANEL_COLS: usize,
@@ -439,7 +439,7 @@ unsafe impl<
439439
}
440440

441441
impl<
442-
F: ReadBuffer,
442+
F: FrameBuffer<PANEL_ROWS, PANEL_COLS, NROWS, BITS, FRAME_COUNT>,
443443
M: PixelRemapper,
444444
const PANEL_ROWS: usize,
445445
const PANEL_COLS: usize,
@@ -464,7 +464,7 @@ impl<
464464
>
465465
{
466466
fn get_word_size(&self) -> WordSize {
467-
WordSize::Sixteen
467+
self.0.get_word_size()
468468
}
469469
}
470470

0 commit comments

Comments
 (0)