mirror of
https://github.com/netbirdio/IronRDP.git
synced 2026-05-22 18:43:12 -07:00
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:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user