Ooops. Forgot that we already had a call to fgClearCallBacks() in the
code and added a second one. I just deleted the new one. Sorry. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@330 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
f02f918842
commit
1023b7eb84
@ -298,7 +298,6 @@ void fgDestroyWindow( SFG_Window* window, GLboolean needToClose )
|
|||||||
SFG_Window *activeWindow = fgStructure.Window ;
|
SFG_Window *activeWindow = fgStructure.Window ;
|
||||||
INVOKE_WCB( *window, Destroy, ( ) );
|
INVOKE_WCB( *window, Destroy, ( ) );
|
||||||
fgSetWindow ( activeWindow ) ;
|
fgSetWindow ( activeWindow ) ;
|
||||||
fgClearCallBacks( window );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( window->Parent != NULL )
|
if ( window->Parent != NULL )
|
||||||
|
Reference in New Issue
Block a user