[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 GitHub
parent 53b6528cc5
commit 89de00e7ce
@@ -248,6 +248,9 @@ void RuntimeImage::release_buffer_() {
this->height_ = 0; this->height_ = 0;
this->buffer_width_ = 0; this->buffer_width_ = 0;
this->buffer_height_ = 0; this->buffer_height_ = 0;
#ifdef USE_LVGL
memset(&this->dsc_, 0, sizeof(this->dsc_));
#endif
} }
} }