diff --git a/src/osgQt/QFontImplementation.cpp b/src/osgQt/QFontImplementation.cpp index 37fbba2..38ce4f8 100644 --- a/src/osgQt/QFontImplementation.cpp +++ b/src/osgQt/QFontImplementation.cpp @@ -21,6 +21,12 @@ #include #include + +#ifndef OSGTEXT_GLYPH_INTERNALFORMAT + #define OSGTEXT_GLYPH_INTERNALFORMAT GL_ALPHA + #define OSGTEXT_GLYPH_FORMAT GL_ALPHA +#endif + namespace osgQt { QFontImplementation::QFontImplementation(const QFont& font) :