Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
Hosted Weblate 2021-09-19 22:17:17 +02:00
commit 7b917152f7
No known key found for this signature in database
GPG Key ID: A3FAAA06E6569B4C

View File

@ -467,9 +467,6 @@ STATIC mp_obj_t displayio_display_obj_fill_row(size_t n_args, const mp_obj_t *po
mp_buffer_info_t bufinfo;
mp_get_buffer_raise(result, &bufinfo, MP_BUFFER_WRITE);
if (bufinfo.typecode != BYTEARRAY_TYPECODE) {
mp_raise_ValueError(translate("Buffer is not a bytearray."));
}
if (self->core.colorspace.depth != 16) {
mp_raise_ValueError(translate("Display must have a 16 bit colorspace."));
}