33 base = glGenLists( 96 );
35 font = CreateFont( -1*m_size,
47 FF_DONTCARE | DEFAULT_PITCH,
50 oldfont = (HFONT)SelectObject( hDC, font );
51 wglUseFontBitmaps( hDC, 32, 96, base );
52 SelectObject( hDC, oldfont );
69 glDeleteLists( base, 96 );
85 vsprintf_s(text, fmt, ap);
88 glPushAttrib( GL_LIST_BIT );
89 glListBase(base - 32);
91 glCallLists((
int)strlen(text), GL_UNSIGNED_BYTE, text);