Freeglut font problem

Font rendering with freeglut doesn't work on linux.

I get the following error when using the glutBitmapCharacter function:
Glut.glutBitmapCharacter(Glut.GLUT_BITMAP_HELVETICA_18, (int)p);
font 0x00000008 not found

The reason for this is that on the linux platform the GLUT_BITMAP_HELVETICA_18 define of freeglut (freeglut_std.h) is not 0x0008 but it is the address of the glutBitmapHelvetica18 function.

Theme by La Boite a site | Powered by Drupal