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;
|
break;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
//Added by Jinrong Xie (stonexjr@gmail.com) 12/24/2014
|
//Added by Jinrong Xie <stonexjr at gmail.com> 12/24/2014
|
||||||
//for SpaceNavigator support on Windows.
|
//for SpaceNavigator support on Windows.
|
||||||
case WM_INPUT:
|
case WM_INPUT:
|
||||||
if (fgHasSpaceball())
|
if (fgHasSpaceball())
|
||||||
{
|
{
|
||||||
|
@ -53,7 +53,7 @@ RAWINPUTDEVICE __fgSpaceball = { 0x01, 0x08, 0x00, 0x00 };
|
|||||||
void fgPlatformInitializeSpaceball(void)
|
void fgPlatformInitializeSpaceball(void)
|
||||||
{
|
{
|
||||||
HWND hwnd;
|
HWND hwnd;
|
||||||
sball_initialized = 1;
|
sball_initialized = 1;
|
||||||
if (!fgStructure.CurrentWindow)
|
if (!fgStructure.CurrentWindow)
|
||||||
{
|
{
|
||||||
sball_initialized = 0;
|
sball_initialized = 0;
|
||||||
|
Reference in New Issue
Block a user