Only cache within memblt if not already cached.
This commit is contained in:
parent
82c2594320
commit
e659fca922
@ -180,7 +180,8 @@ void guac_rdp_gdi_memblt(rdpContext* context, MEMBLT_ORDER* memblt) {
|
|||||||
case 0xCC:
|
case 0xCC:
|
||||||
|
|
||||||
/* If not cached, cache if necessary */
|
/* If not cached, cache if necessary */
|
||||||
if (((guac_rdp_bitmap*) bitmap)->used >= 1)
|
if (((guac_rdp_bitmap*) bitmap)->layer == NULL
|
||||||
|
&& ((guac_rdp_bitmap*) bitmap)->used >= 1)
|
||||||
guac_rdp_cache_bitmap(context, memblt->bitmap);
|
guac_rdp_cache_bitmap(context, memblt->bitmap);
|
||||||
|
|
||||||
/* If not cached, send as PNG */
|
/* If not cached, send as PNG */
|
||||||
|
Loading…
Reference in New Issue
Block a user