From: John F. Fay Date: Mon, 14 Mar 2011 02:59:17 +0000 (+0000) Subject: Reducing the initial menu window size from 100x100 pixels to 1x1 pixel so that it... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=c3ade8b0d5740b9c60c46ec75a6d1a11cc0c4699;p=freeglut 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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@895 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/freeglut_structure.c b/src/freeglut_structure.c index e092429..ce3869b 100644 --- a/src/freeglut_structure.c +++ b/src/freeglut_structure.c @@ -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 */