Caught a few more little style issues.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@287 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
2ab6b22f80
commit
9b944ec457
@ -125,8 +125,8 @@ static void fghReshapeWindowByHandle
|
|||||||
*/
|
*/
|
||||||
window->State.Redisplay = TRUE ;
|
window->State.Redisplay = TRUE ;
|
||||||
|
|
||||||
if ( window->IsMenu )
|
if( window->IsMenu )
|
||||||
fgSetWindow ( current_window ) ;
|
fgSetWindow( current_window ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -169,11 +169,11 @@ static void fghcbDisplayWindow( SFG_Window *window, SFG_Enumerator *enumerator )
|
|||||||
(window->State.Redisplay == TRUE) &&
|
(window->State.Redisplay == TRUE) &&
|
||||||
(window->State.Visible == TRUE) )
|
(window->State.Visible == TRUE) )
|
||||||
{
|
{
|
||||||
window->State.Redisplay = FALSE;
|
window->State.Redisplay = FALSE;
|
||||||
|
|
||||||
RedrawWindow(
|
RedrawWindow(
|
||||||
window->Window.Handle, NULL, NULL,
|
window->Window.Handle, NULL, NULL,
|
||||||
RDW_NOERASE | RDW_INTERNALPAINT | RDW_INVALIDATE | RDW_UPDATENOW
|
RDW_NOERASE | RDW_INTERNALPAINT | RDW_INVALIDATE | RDW_UPDATENOW
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user