Minor fix on indentation.
(cherry picked from commitc93cdcdbbd
) (cherry picked from commitc93cdcdbbd
) git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1763 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
238b0ae02c
commit
8dfbfaca71
@ -1543,8 +1543,8 @@ LRESULT CALLBACK fgPlatformWindowProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPAR
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
//Added by Jinrong Xie (stonexjr@gmail.com) 12/24/2014
|
||||
//for SpaceNavigator support on Windows.
|
||||
//Added by Jinrong Xie <stonexjr at gmail.com> 12/24/2014
|
||||
//for SpaceNavigator support on Windows.
|
||||
case WM_INPUT:
|
||||
if (fgHasSpaceball())
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ RAWINPUTDEVICE __fgSpaceball = { 0x01, 0x08, 0x00, 0x00 };
|
||||
void fgPlatformInitializeSpaceball(void)
|
||||
{
|
||||
HWND hwnd;
|
||||
sball_initialized = 1;
|
||||
sball_initialized = 1;
|
||||
if (!fgStructure.CurrentWindow)
|
||||
{
|
||||
sball_initialized = 0;
|
||||
@ -188,4 +188,4 @@ void fgSpaceballHandleWinEvent(HWND hwnd, WPARAM wParam, LPARAM lParam)
|
||||
__fgSpaceKeystate = dwKeystate;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user