fix(session): update rectangle when applying None codecs updates (#728)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-Andre Lureau
2025-03-30 18:37:38 -04:00
committed by GitHub
parent ff26400822
commit a50cd643dc
+3 -1
View File
@@ -341,7 +341,9 @@ impl Processor {
let ext_data = bits.extended_bitmap_data;
match ext_data.bpp {
32 => {
image.apply_rgb32_bitmap(ext_data.data, PixelFormat::BgrX32, &destination)?;
let rectangle =
image.apply_rgb32_bitmap(ext_data.data, PixelFormat::BgrX32, &destination)?;
update_rectangle = update_rectangle.union(&rectangle);
}
bpp => {
warn!("Unsupported bpp: {bpp}")