Ooops. Forgot that we already had a call to fgClearCallBacks() in the
authorRichard Rauch <rkr@olib.org>
Mon, 10 Nov 2003 09:45:47 +0000 (09:45 +0000)
committerRichard Rauch <rkr@olib.org>
Mon, 10 Nov 2003 09:45:47 +0000 (09:45 +0000)
code and added a second one.  I just deleted the new one.  Sorry.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@330 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_structure.c

index 00b035b..cc1e9a3 100644 (file)
@@ -298,7 +298,6 @@ void fgDestroyWindow( SFG_Window* window, GLboolean needToClose )
       SFG_Window *activeWindow = fgStructure.Window ;
       INVOKE_WCB( *window, Destroy, ( ) );
       fgSetWindow ( activeWindow ) ;
-      fgClearCallBacks( window );
     }
 
     if ( window->Parent != NULL )