[online_image] Clear LVGL dsc when image size changes. (#15360)
This commit is contained in:
1 parent
9bd936112d
commit
9036c29c8a
1 file changed
+3
@@ -247,6 +247,9 @@ void RuntimeImage::release_buffer_() {
|
||||
this->height_ = 0;
|
||||
this->buffer_width_ = 0;
|
||||
this->buffer_height_ = 0;
|
||||
#ifdef USE_LVGL
|
||||
memset(&this->dsc_, 0, sizeof(this->dsc_));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user