Disable scaled output PDU if no scaling support compiled
@@ -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
}
}
