PDA

View Full Version : glCallLists();



Talon
08-14-2000, 05:12 PM
I am using glCallLIsts() to do some text in my app. I looked at an example straight out of the OpenGL Superbible 2nd Ed., but when I make the call, all of my other objects seem grayed out. It's as if someone switched off the lights. Are there any tricky parts to using glCallLIsts()?

Thanks in advance.

Talon
08-14-2000, 05:46 PM
Found a solution, but I don't know how efficient it is...

glPushAttrib(GL_ALL_ATTRIB_BITS);
...
call displaylists code here
...
glPopAttrib();