Skip to content

Commit

Permalink
Build fix for building against OSG master/3.5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
robertosfield committed Nov 20, 2017
1 parent 1319065 commit 1096988
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/osgQt/QFontImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
#include <QImage>
#include <QPainter>


#ifndef OSGTEXT_GLYPH_INTERNALFORMAT
#define OSGTEXT_GLYPH_INTERNALFORMAT GL_ALPHA
#define OSGTEXT_GLYPH_FORMAT GL_ALPHA
#endif

namespace osgQt {

QFontImplementation::QFontImplementation(const QFont& font) :
Expand Down

0 comments on commit 1096988

Please sign in to comment.