Archived

This topic is now archived and is closed to further replies.

Evlich

Display Lists...

Recommended Posts

Hello, can someone help me with this little piece of code. I am trying to create a display list that will draw an object and I keep getting ''invalid operation'' for an error. Here is the function: if( ::graphics ) { cout<<"Creating list..."; displayList = glGenLists(2); cout<

Share this post


Link to post
Share on other sites
Ok, I figured out that I didn''t create a rendering context before I ran the function; however, I want to use the display list on 2 different windows. Is this possible? When I run the program, one window (the window created first) is black and the other looks perfectly fine. Any ideas? Thanks a lot.

~Evlich

Share this post


Link to post
Share on other sites