From c1c7f3e659532f91f3466e5f523260f5160b617d Mon Sep 17 00:00:00 2001 From: cepetr Date: Wed, 24 Apr 2024 15:49:44 +0200 Subject: [PATCH] fixup! feat(core): introduce new drawing library --- core/embed/rust/src/trezorhal/bitblt.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/embed/rust/src/trezorhal/bitblt.rs b/core/embed/rust/src/trezorhal/bitblt.rs index 49eef2751..30756a19c 100644 --- a/core/embed/rust/src/trezorhal/bitblt.rs +++ b/core/embed/rust/src/trezorhal/bitblt.rs @@ -204,12 +204,12 @@ impl BitBlt { unsafe { ffi::gl_mono8_blend_mono4(self) }; } - #[cfg(feature = "new_rendering")] + #[cfg(all(not(feature = "xframebuffer"), feature = "new_rendering"))] pub unsafe fn display_fill(&self) { unsafe { ffi::display_fill(self) }; } - #[cfg(feature = "new_rendering")] + #[cfg(all(not(feature = "xframebuffer"), feature = "new_rendering"))] pub unsafe fn display_copy_rgb565(&self) { unsafe { ffi::display_copy_rgb565(self) }; }