32 bpp compress the alpha, leave room for biggest 32 bpp data
This commit is contained in:
parent
dfff82f5fe
commit
0cabb4a565
@ -2335,7 +2335,7 @@ xrdp_orders_send_bitmap(struct xrdp_orders *self,
|
||||
{
|
||||
lines_sending = xrdp_bitmap32_compress(data, width, height, s,
|
||||
bpp, 16384,
|
||||
i - 1, temp_s, e, 0x30);
|
||||
i - 1, temp_s, e, 0x10);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2600,7 +2600,7 @@ xrdp_orders_send_bitmap2(struct xrdp_orders *self,
|
||||
{
|
||||
lines_sending = xrdp_bitmap32_compress(data, width, height, s,
|
||||
bpp, 16384,
|
||||
i - 1, temp_s, e, 0x30);
|
||||
i - 1, temp_s, e, 0x10);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -848,7 +848,7 @@ xrdp_painter_copy(struct xrdp_painter *self,
|
||||
while (i < (srcx + cx))
|
||||
{
|
||||
w = MIN(64, ((srcx + cx) - i));
|
||||
h = MIN(64, ((srcy + cy) - j));
|
||||
h = MIN(63, ((srcy + cy) - j));
|
||||
b = xrdp_bitmap_create(w, h, src->bpp, 0, self->wm);
|
||||
#if 1
|
||||
xrdp_bitmap_copy_box_with_crc(src, b, i, j, w, h);
|
||||
@ -883,7 +883,7 @@ xrdp_painter_copy(struct xrdp_painter *self,
|
||||
i += 64;
|
||||
}
|
||||
|
||||
j += 64;
|
||||
j += 63;
|
||||
}
|
||||
|
||||
xrdp_region_delete(region);
|
||||
|
Loading…
Reference in New Issue
Block a user