From c3ade8b0d5740b9c60c46ec75a6d1a11cc0c4699 Mon Sep 17 00:00:00 2001 From: "John F. Fay" Date: Mon, 14 Mar 2011 02:59:17 +0000 Subject: [PATCH] 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 --- src/freeglut_structure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 1.7.10.4