Hi,
I want to get a free Display list index. But everytime I call the glGenLists function (e.g. index=glGenLists(1); )it returns 0.
Is there anything I have to activate before I can use this function ???
Thanks for your help !!!
Refrigerator
Hi,
I want to get a free Display list index. But everytime I call the glGenLists function (e.g. index=glGenLists(1); )it returns 0.
Is there anything I have to activate before I can use this function ???
Thanks for your help !!!
Refrigerator
Hi !
No there is nothing to activate it should work straight out of the box, what you might be doing is to call glGenLists() between glBegin() and glEnd(), you cannot do that.
Mikael
And you must create a valid rendering context by using wglCreateContext before all other OpenGL commands.