diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2023-01-08 13:33:14 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2023-01-08 15:15:13 +1030 |
commit | dd8f55100a260d34732dbddff94c3d20071228a7 (patch) | |
tree | cf60772cb5a33519c7f2993017bdf2a9930e6616 /src/cairo-colr-glyph-render.c | |
parent | 89d004432b218d2641439c01fd93deda390a25b1 (diff) | |
download | cairo-dd8f55100a260d34732dbddff94c3d20071228a7.tar.gz |
Require -DDEBUG_ENABLE_COLR_V1 to enable the COLR v1 renderer
Once there is a FreeType release where the COLR v1 API is no longer
marked experimental, we can change this to a version check.
Diffstat (limited to 'src/cairo-colr-glyph-render.c')
-rw-r--r-- | src/cairo-colr-glyph-render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-colr-glyph-render.c b/src/cairo-colr-glyph-render.c index 149d2f8ba..2388d9e02 100644 --- a/src/cairo-colr-glyph-render.c +++ b/src/cairo-colr-glyph-render.c @@ -42,7 +42,7 @@ #include <stdio.h> #include <string.h> -#if HAVE_FT_GET_COLOR_GLYPH_PAINT +#if HAVE_FT_COLR_V1 #include <ft2build.h> #include FT_CONFIG_OPTIONS_H @@ -1232,4 +1232,4 @@ _cairo_render_colr_v1_glyph (FT_Face face, return status; } -#endif /* HAVE_FT_GET_COLOR_GLYPH_PAINT */ +#endif /* HAVE_FT_COLR_V1 */ |