freeglut_menu.c:328 Fix submenu triangle (John Fay)

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@213 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
sandalle 2003-10-06 16:27:53 +00:00
parent c209cc5479
commit 8436dd7205
2 changed files with 8 additions and 1 deletions

View File

@ -331,3 +331,10 @@ October 24, 2002:
******************************************************************************************* *******************************************************************************************
(110) Tweaking for the menu behavior on Linux regarding mice, etc. - John Fay (110) Tweaking for the menu behavior on Linux regarding mice, etc. - John Fay
*******************************************************************************************
* Changes on October 6, 2003
*******************************************************************************************
(111) freeglut_menu.c:328 Fix submenu triangle (John Fay)

View File

@ -325,7 +325,7 @@ static void fghDisplayMenuBox( SFG_Menu* menu )
glPixelStorei( GL_UNPACK_ALIGNMENT, 1 ); glPixelStorei( GL_UNPACK_ALIGNMENT, 1 );
glRasterPos2i ( menu->Width - 2 - width, glRasterPos2i ( menu->Width - 2 - width,
(i + 1)*FREEGLUT_MENU_HEIGHT ) ; (i + 1)*FREEGLUT_MENU_HEIGHT - 1) ;
glBitmap ( width, FREEGLUT_MENU_HEIGHT, 0, 0, 0.0, 0.0, arrow_char ) ; glBitmap ( width, FREEGLUT_MENU_HEIGHT, 0, 0, 0.0, 0.0, arrow_char ) ;
glPopClientAttrib(); glPopClientAttrib();
} }