Changed the gl window creation so that the pen position test in bitmap font test would work
diff --git a/test/TestMain.cpp b/test/TestMain.cpp
index 966c9c4..db4264a 100755
--- a/test/TestMain.cpp
+++ b/test/TestMain.cpp
@@ -29,9 +29,15 @@ void buildGLContext()
glutInit( &number, &pointer);
glutInitDisplayMode(GLUT_DEPTH | GLUT_RGB | GLUT_DOUBLE | GLUT_MULTISAMPLE);
glutInitWindowPosition(0, 0);
- glutInitWindowSize( 0, 0);
+ glutInitWindowSize( 150, 150);
glutCreateWindow("FTGL TEST");
+ glMatrixMode(GL_PROJECTION);
+ glLoadIdentity();
+ gluOrtho2D( 0.0, 150, 0.0, 150);
+ glMatrixMode(GL_MODELVIEW);
+ glLoadIdentity();
+
glutInitialised = true;
}
}