1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-08-03 12:28:13 +00:00

fixup! feat(core): introduce new drawing library

This commit is contained in:
cepetr 2024-05-13 09:47:51 +02:00
parent dba8db4920
commit 23e96b8cab

View File

@ -72,8 +72,8 @@ impl BitBlt {
Self {
// SAFETY:
// it's safe if the functions the source rectangle is
// properly clipped what's ensured by the `BitBltCopy::new()` method.
// it's safe if source rectangle is properly clipped
// (ensured by the `BitBltCopy::new()`).
src_row: unsafe { bitmap.row_ptr(y as u16) },
src_stride: bitmap_stride,
src_x: x as u16,