Skip to content

Commit b318896

Browse files
committed
Capture rotation
1 parent de7a603 commit b318896

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

shared-module/displayio/display_core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ void displayio_display_core_construct(displayio_display_core_t* self,
8585
self->ram_width = ram_width;
8686
self->ram_height = ram_height;
8787
rotation = rotation % 360;
88+
self->rotation = rotation;
8889
self->transform.x = 0;
8990
self->transform.y = 0;
9091
self->transform.scale = 1;

0 commit comments

Comments
 (0)