suresh kannan
07-10-2001, 04:00 AM
Hi I am displaying text using Outline fonts.
As per OpenGL documentation the glColor() and glCallLists() calls should be within glBegin() and glEnd(). What should be the mode for glBegin(...)?.
glBegin(?);
glColor4f(Red,Green,Blue,Alpha);
glCallLists(strlen(string),GL_UNSIGNED_BYTE, string);
glEnd();
Thanks,
Kannan A S
As per OpenGL documentation the glColor() and glCallLists() calls should be within glBegin() and glEnd(). What should be the mode for glBegin(...)?.
glBegin(?);
glColor4f(Red,Green,Blue,Alpha);
glCallLists(strlen(string),GL_UNSIGNED_BYTE, string);
glEnd();
Thanks,
Kannan A S