I noticed something in the GLCanvas javadocs (actually, I read it from http://www.java-gaming.org/forums/index.php?topic=14732.0 , but nevertheless, it is in the javadoc… )
“users should not maintain a hash table with the GL object as the key.”
I’ve done exactly this (made a HashMap<GL,Integer> or the like) in one of my classes to store identifiers like the number of allocated light numbers and display list names, and it has worked in all of my test cases… what is the problem with using this technique? And what’s an alternative - should I instead be mapping by GLAutoDrawables or something similar?