Fix Cairo version check

The intention was to check for 1.10, not 1.12
This commit is contained in:
Paul Cornett 2022-06-22 08:01:06 -07:00
parent ae0e4c6942
commit bf6fe7f949

View File

@ -3087,8 +3087,8 @@ bool wxCairoContext::SetCompositionMode(wxCompositionMode op)
cop = CAIRO_OPERATOR_ADD;
break;
case wxCOMPOSITION_DIFF:
#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 12, 0)
if ( cairo_version() >= CAIRO_VERSION_ENCODE(1, 12, 0) )
#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 10, 0)
if ( cairo_version() >= CAIRO_VERSION_ENCODE(1, 10, 0) )
{
cop = CAIRO_OPERATOR_DIFFERENCE;
break;