Disable scaled output PDU if no scaling support compiled

(cherry picked from commit 7e526e8770)
This commit is contained in:
Armin Novak 2022-05-24 09:58:42 +02:00 committed by David Fort
parent da274b6e96
commit e69ecadba5

View File

@ -329,6 +329,9 @@ static UINT rdpgfx_send_supported_caps(RDPGFX_CHANNEL_CALLBACK* callback)
capsSet->version = RDPGFX_CAPVERSION_107; capsSet->version = RDPGFX_CAPVERSION_107;
capsSet->length = 0x4; capsSet->length = 0x4;
capsSet->flags = caps10Flags; capsSet->flags = caps10Flags;
#if !defined(CAIRO_FOUND) && !defined(SWSCALE_FOUND)
capsSet->flags |= RDPGFX_CAPS_FLAG_SCALEDMAP_DISABLE;
#endif
} }
} }