From b318896b8509df07630d7ee1d27ab46b6dcba1c1 Mon Sep 17 00:00:00 2001 From: Dave Astels Date: Tue, 3 Sep 2019 12:35:41 -0400 Subject: [PATCH] Capture rotation --- shared-module/displayio/display_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shared-module/displayio/display_core.c b/shared-module/displayio/display_core.c index 0f449ea34d..95fa08f547 100644 --- a/shared-module/displayio/display_core.c +++ b/shared-module/displayio/display_core.c @@ -85,6 +85,7 @@ void displayio_display_core_construct(displayio_display_core_t* self, self->ram_width = ram_width; self->ram_height = ram_height; rotation = rotation % 360; + self->rotation = rotation; self->transform.x = 0; self->transform.y = 0; self->transform.scale = 1;