From 171961829ad1b32a7cbbd15e3c027cef7f8d2454 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Mon, 5 Aug 2024 16:52:20 +0200 Subject: [PATCH] fix(core): fix gfx_clear [no changelog] --- core/embed/lib/gfx_draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/embed/lib/gfx_draw.c b/core/embed/lib/gfx_draw.c index 4cce909ec5..c8fc4da822 100644 --- a/core/embed/lib/gfx_draw.c +++ b/core/embed/lib/gfx_draw.c @@ -91,8 +91,8 @@ static inline gfx_clip_t gfx_clip(gfx_rect_t dst, const gfx_bitmap_t* bitmap) { void gfx_clear(void) { gfx_bitblt_t bb = { // Destination bitmap - .height = DISPLAY_RESX, - .width = DISPLAY_RESY, + .height = DISPLAY_RESY, + .width = DISPLAY_RESX, .dst_row = NULL, .dst_x = 0, .dst_y = 0,