I have a situation where I need to show an Away3D scene, remove it, then show a new one later. I found the dispose() method on the View3D class, but when I call it I get an error saying gl is null. The Program3D class wants to use it but it’s not there. Here’s my stack trace:
First off, am I using the right method to clear everything? And if I am, is there a bug in Program3D?