Fixed swscale and cairo checks

This commit is contained in:
Armin Novak
2022-07-06 14:04:06 +02:00
committed by akallabeth
parent 727f2bc652
commit 3bedc1f92e
4 changed files with 9 additions and 9 deletions

View File

@@ -345,7 +345,7 @@ static UINT rdpgfx_send_supported_caps(GENERIC_CHANNEL_CALLBACK* callback)
capsSet->version = RDPGFX_CAPVERSION_107;
capsSet->length = 0x4;
capsSet->flags = caps10Flags;
#if !defined(CAIRO_FOUND) && !defined(SWSCALE_FOUND)
#if !defined(WITH_CAIRO) && !defined(WITH_SWSCALE)
capsSet->flags |= RDPGFX_CAPS_FLAG_SCALEDMAP_DISABLE;
#endif
}