From e565a5e1c310b344e1b2c3b3797b5c33b95b5f7e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 20 Sep 2017 16:51:30 +0100 Subject: [PATCH] Removed no longer used code paths --- src/osgText/Glyph.cpp | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/src/osgText/Glyph.cpp b/src/osgText/Glyph.cpp index d418c5829..58f25aca4 100644 --- a/src/osgText/Glyph.cpp +++ b/src/osgText/Glyph.cpp @@ -327,16 +327,6 @@ void GlyphTexture::copyGlyphImage(Glyph* glyph) float outline_distance = max_distance/3.0f; -#if 0 - // compute the alpha value of outline, one texel thick - unsigned char outline = center_value; - if (center_value<255) - { - if (min_distance