Does anyone know if a graphics context needs to be active (via glXMakeCurrent) to delete display lists and texture objects? In regards to JOGL, I am curious if a list of texture can be deleted outside the display method of a GLEventListener. I tried it and it seems to work (no exceptions), but I’m not sure if this is a valid operation.
It isn’t generally a valid operation and is likely to blow up on many implementations. It might be valid on Linux but crossplatform coding dictates that the safe route must be taken and code to the lowest common denominator.
Cas
Thanks. It does make sense to code with cross-platform in mind. I was running on a Mac, and it probably does a no-op if the context is not active.