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:
parent
c209cc5479
commit
8436dd7205
@ -331,3 +331,10 @@ October 24, 2002:
|
||||
*******************************************************************************************
|
||||
|
||||
(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)
|
||||
|
||||
|
@ -325,7 +325,7 @@ static void fghDisplayMenuBox( SFG_Menu* menu )
|
||||
glPixelStorei( GL_UNPACK_ALIGNMENT, 1 );
|
||||
|
||||
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 ) ;
|
||||
glPopClientAttrib();
|
||||
}
|
||||
|
Reference in New Issue
Block a user