Disable scaled output PDU if no scaling support compiled

This commit is contained in:
Armin Novak 2022-05-24 09:58:42 +02:00 committed by David Fort
parent 40f5578206
commit 387d4bd8fd

View File

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