summaryrefslogtreecommitdiffstats
path: root/libass/ass_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_parse.c')
-rw-r--r--libass/ass_parse.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libass/ass_parse.c b/libass/ass_parse.c
index a5b9b59..0ccb5a2 100644
--- a/libass/ass_parse.c
+++ b/libass/ass_parse.c
@@ -123,15 +123,9 @@ void change_border(ASS_Renderer *render_priv, double border_x,
if (bord > 0 && border_x == border_y) {
if (!render_priv->state.stroker) {
int error;
-#if (FREETYPE_MAJOR > 2) || ((FREETYPE_MAJOR == 2) && (FREETYPE_MINOR > 1))
error =
FT_Stroker_New(render_priv->ftlibrary,
&render_priv->state.stroker);
-#else // < 2.2
- error =
- FT_Stroker_New(render_priv->state.font->faces[0]->
- memory, &render_priv->state.stroker);
-#endif
if (error) {
ass_msg(render_priv->library, MSGL_V,
"failed to get stroker");