finding "invalid enumerant"s?

I’m working on Linux and get the message “invalid enumerant” : filename.c. I’ve tried putting in print statements, but they don’t help, probabaly because of the use of display lists.

Anyone know of a way to make these types of message more verbose?

Thanks

Try changing your display lists to GL_COMPILE_AND_EXECUTE and add error checking and print statements at various locations in your code to start tracking it down.