Capture rotation

This commit is contained in:
Dave Astels 2019-09-03 12:35:41 -04:00
parent de7a603c06
commit b318896b85

View File

@ -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;