diff --git a/examples/osgfont/osgfont.cpp b/examples/osgfont/osgfont.cpp index 7340a4251..460b6280d 100644 --- a/examples/osgfont/osgfont.cpp +++ b/examples/osgfont/osgfont.cpp @@ -161,7 +161,6 @@ struct TextSettings font->setMaxAnisotropy(maxAnisotropy); font->setGlyphInterval(glyphInterval); font->setGyphTextureFeatures(glyphTextureFeatures); - // text.setFont(font.get()); text.setColor(textColor); text.setBackdropType(backdropType);