Does anyone know where I can find the full list of events or Gl States that would cause
glGenLists to return th error “Invalid Operation”?
As I’m trying to call it in a class that it #included into a windows OpenGL program, but its just returning the error. I’m calling it in the class constructor as well, should that make a difference? Do I need to have the device context etc for glGenLists to work? This is my first attempt at a display list.
Either that or what the requirments are for using glGenLists in a windows application?