Permalink
Browse files

reinstate checkGlutInit for freeglut

  • Loading branch information...
1 parent 04ea5f3 commit 3b5caa86a288be60e51df1ce72900ce296c28a53 @hurzl hurzl committed Jul 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/shape.cpp
View
@@ -896,7 +896,7 @@ void drawString(const Vector3d &pos, const string &text)
}
void drawString(const Vector3d &pos, void* font, const string &text)
{
- // checkGlutInit(); // ???
+ checkGlutInit();
glRasterPos3d(pos.x(), pos.y(), pos.z());
for (uint c=0;c<text.length();c++)
glutBitmapCharacter(font, text[c]);

0 comments on commit 3b5caa8

Please sign in to comment.