Scaled back the primitives sets set up so they match the requirements of the osgText::Text accordinging to the BackdropType
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
|
||||
namespace osgText {
|
||||
|
||||
// #define NEW_APPROACH
|
||||
|
||||
class OSGTEXT_EXPORT Text : public osgText::TextBase
|
||||
{
|
||||
public:
|
||||
@@ -313,7 +315,6 @@ public:
|
||||
|
||||
Primitives _primitives;
|
||||
|
||||
void updatePrimitives();
|
||||
|
||||
GlyphQuads();
|
||||
GlyphQuads(const GlyphQuads& gq);
|
||||
@@ -321,6 +322,8 @@ public:
|
||||
void initGlyphQuads();
|
||||
void initGPUBufferObjects();
|
||||
|
||||
void setupPrimitives(Text::BackdropType backdropType);
|
||||
|
||||
Glyphs& getGlyphs() { return _glyphs; }
|
||||
const Glyphs& getGlyphs() const { return _glyphs; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user