Alright, so I have a program with display lists. It uses GLUT to run.
Then, I try to transform the program to run as a Win32 app. I have used NeHe’s code, almost to the letter. Here is the code that I am inserting:
superHandler = glGenLists(1);
if(superHandler == 0)
Well, needless to say it always exits with code 22, because glGenLists returns 0 every time. Anyone know why this happens, or anything that could possibly cause glGenLists to return a zero? I checked, and all the include’s and linked libraries match, save for the glut libraries. But, glGenLists, doesn’t use glut, right? Any help would be vastly appreciated! Thanks!