mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-08-05 13:26:57 +00:00
fixup! feat(core): introduce new drawing library
This commit is contained in:
parent
dba8db4920
commit
23e96b8cab
@ -72,8 +72,8 @@ impl BitBlt {
|
|||||||
|
|
||||||
Self {
|
Self {
|
||||||
// SAFETY:
|
// SAFETY:
|
||||||
// it's safe if the functions the source rectangle is
|
// it's safe if source rectangle is properly clipped
|
||||||
// properly clipped what's ensured by the `BitBltCopy::new()` method.
|
// (ensured by the `BitBltCopy::new()`).
|
||||||
src_row: unsafe { bitmap.row_ptr(y as u16) },
|
src_row: unsafe { bitmap.row_ptr(y as u16) },
|
||||||
src_stride: bitmap_stride,
|
src_stride: bitmap_stride,
|
||||||
src_x: x as u16,
|
src_x: x as u16,
|
||||||
|
Loading…
Reference in New Issue
Block a user