A stupid bug fixed.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@17 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
b6bc09e2f7
commit
ddf7d9715a
@ -139,7 +139,7 @@ static void fghcbDisplayWindow( SFG_Window *window, SFG_Enumerator *enumerator )
|
|||||||
/*
|
/*
|
||||||
* Check if there is an idle callback hooked
|
* Check if there is an idle callback hooked
|
||||||
*/
|
*/
|
||||||
// # warning there is a redisplay hack here (see the code commented out)
|
# warning there is a redisplay hack here (see the code commented out)
|
||||||
if( (window->Callbacks.Display != NULL) &&
|
if( (window->Callbacks.Display != NULL) &&
|
||||||
/*(window->State.Redisplay == TRUE) &&*/
|
/*(window->State.Redisplay == TRUE) &&*/
|
||||||
(window->State.Visible == TRUE) )
|
(window->State.Visible == TRUE) )
|
||||||
|
@ -234,9 +234,9 @@ static void fghRemoveMenuFromWindow( SFG_Window* window, SFG_Menu* menu )
|
|||||||
* Call this function for all of the window's children recursively:
|
* Call this function for all of the window's children recursively:
|
||||||
*/
|
*/
|
||||||
for( subWindow = window->Children.First; subWindow;
|
for( subWindow = window->Children.First; subWindow;
|
||||||
subWindow = subWindow->Node.Next);
|
subWindow = subWindow->Node.Next)
|
||||||
{
|
{
|
||||||
fghRemoveMenuFromWindow(subWindow, menu );
|
fghRemoveMenuFromWindow( subWindow, menu );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user