Reducing the initial menu window size from 100x100 pixels to 1x1 pixel so that it doesn't "flash" on the screen as the menu is being created. Reference to e-mail by Jason Wilkins dated 2/22/2011 11:43 AM.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@895 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
3364c70ee6
commit
7e3e81f7f8
@ -114,7 +114,7 @@ SFG_Window* fgCreateWindow( SFG_Window* parent, const char* title,
|
||||
*/
|
||||
SFG_Menu* fgCreateMenu( FGCBMenu menuCallback )
|
||||
{
|
||||
int x = 100, y = 100, w = 100, h = 100;
|
||||
int x = 100, y = 100, w = 1, h = 1;
|
||||
SFG_Window *current_window = fgStructure.CurrentWindow;
|
||||
|
||||
/* Have the menu object created */
|
||||
|
Reference in New Issue
Block a user