X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmswin%2Ffg_menu_mswin.c;h=a5afd46b128319fd3a8ae9e7060fedfa58373f3c;hb=0ad162e4550450e4c5e0d930e564e88d1a197575;hp=3d8369378a87d3e8e96333800def0ed244c4687e;hpb=637e1260edb9068591665330c32407549ca36535;p=freeglut diff --git a/src/mswin/fg_menu_mswin.c b/src/mswin/fg_menu_mswin.c index 3d83693..a5afd46 100644 --- a/src/mswin/fg_menu_mswin.c +++ b/src/mswin/fg_menu_mswin.c @@ -29,7 +29,7 @@ #include #include "../fg_internal.h" -extern void fghGetClientArea( RECT *clientRect, const SFG_Window *window, BOOL wantPosOutside ); +extern void fghGetClientArea( RECT *clientRect, const SFG_Window *window ); GLvoid fgPlatformGetGameModeVMaxExtent( SFG_Window* window, int* x, int* y ) @@ -74,7 +74,7 @@ void fgPlatformCheckMenuDeactivate() */ POINT mouse_pos; RECT clientArea; - fghGetClientArea(&clientArea,menu->ParentWindow, GL_FALSE); + fghGetClientArea(&clientArea,menu->ParentWindow); GetCursorPos(&mouse_pos); if ( !PtInRect( &clientArea, mouse_pos ) ) fgDeactivateMenu(menu->ParentWindow);