[online_image] Clear LVGL dsc when image size changes. (#15360)

This commit is contained in:
Clyde Stubbs
2026-04-04 16:04:01 +10:00
committed by Jesse Hills
parent 9bd936112d
commit 9036c29c8a
@@ -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
}
}