Hi I hope someone can help or at least have a clue what could be going wrong.
I am using msvc++6 and have an mdi application displaying opengl windows.
This all works fine.
However I wanted to use display lists and whenever I try to generate one using glGenList() It always returns 0 and so doesnt generate it. The function works fine when I am not using mfc so I think it may be this but I dont know why.
I am doing it after open gl is initialised Is there any order this should be done in or do I need to request a display list at a certain point in time. (I previously drew the object without display lists and it worked fine)