void draw_meta() { glDisable(GL_LIGHTING); glClear(GL_COLOR_BUFFER_BIT); // clear screen, to glClearColor() glColor3f(1.0,1.0,1.0); glRasterPos2f(-15, -20); int len, i; string s = "Level: "; string c = p.get_level(); string fin = s + c; const char* a = fin.c_str(); glutBitmapString(GLUT_BITMAP_HELVETICA_18, (const unsigned char*) a); string fin2 = "" ; if(mute) { fin2 = "Press m to unmute"; } else{ fin2 = "Press m to mute"; } const char* a2 = fin2.c_str(); glRasterPos2f(-2, -20); glutBitmapString(GLUT_BITMAP_HELVETICA_18, (const unsigned char*) a2); glEnable(GL_LIGHTING); }