give menu windows the title 'freeglut menu' (helps Chromium)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@506 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
brianp 2004-06-29 15:50:57 +00:00
parent c3a84ddd90
commit 49b265eba4

View File

@ -150,7 +150,7 @@ SFG_Menu* fgCreateMenu( FGCBMenu menuCallback )
* Create a window for the menu to reside in. * Create a window for the menu to reside in.
*/ */
fgCreateWindow( NULL, NULL, x, y, w, h, GL_FALSE, GL_TRUE ); fgCreateWindow( NULL, "freeglut menu", x, y, w, h, GL_FALSE, GL_TRUE );
menu->Window = fgStructure.Window; menu->Window = fgStructure.Window;
glutDisplayFunc( fgDisplayMenu ); glutDisplayFunc( fgDisplayMenu );