|
|
|
@ -156,6 +156,11 @@ void gl_draw_bitmap(gl_rect_t rect, const gl_bitmap_t* bitmap) {
|
|
|
|
|
.src_alpha = 255,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Currently, we use `gl_draw_bitmap` exclusively for text rendering.
|
|
|
|
|
// Therefore, we are including the variant of `display_copy_xxx()` that is
|
|
|
|
|
// specifically needed for drawing glyphs in the format we are using
|
|
|
|
|
// to save some space in the flash memory.
|
|
|
|
|
|
|
|
|
|
#if TREZOR_FONT_BPP == 1
|
|
|
|
|
if (bitmap->format == GL_FORMAT_MONO1P) {
|
|
|
|
|
display_copy_mono1p(&bb);
|
|
|
|
|