Moved TextNode into osgText.
Cleaned up freetype plugin so it no longer does tesselation - instead Glyph and TextNode do this.
This commit is contained in:
@@ -194,7 +194,7 @@ void DefaultFont::constructGlyphs()
|
||||
// populate the glyph mp
|
||||
for(unsigned int i=32;i<127;i++)
|
||||
{
|
||||
osg::ref_ptr<Glyph> glyph = new Glyph(i);
|
||||
osg::ref_ptr<Glyph> glyph = new Glyph(this, i);
|
||||
|
||||
unsigned int dataSize = sourceWidth*sourceHeight;
|
||||
unsigned char* data = new unsigned char[dataSize];
|
||||
|
||||
Reference in New Issue
Block a user