From: <joh...@ae...> - 2003-04-14 12:21:30
|
I get the error 'gljDestroy failed (free)' everytime I try to close my = application. I've searched for this error on google but I haven't seen any good = answer yet. What do I need to do to get it to work? My display function looks like this: public void display() { glj.gljMakeCurrent(); =20 ... ... ... glj.gljSwap(); glj.gljFree(); } I read in GL4Java's documentation that you should call gljfree before = gljDestroy so I've overridden doCleanup like this: public void doCleanup() { glj.gljFree(true); super.doCleanup(); } But that didn't help. Hope someone can help me. |