Removing more duplicate code ... need to be more careful.
authorJohn F. Fay <johnffay@nettally.com>
Fri, 20 Jan 2012 04:21:42 +0000 (04:21 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Fri, 20 Jan 2012 04:21:42 +0000 (04:21 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@989 7f0cb862-5218-0410-a997-914c9d46530a

src/Common/freeglut_init.c

index 443de0b..0a96b14 100644 (file)
@@ -329,9 +329,6 @@ void fghCloseInputDevices ( void )
 \r
     if ( fgState.InputDevsInitialised )\r
         fgInputDeviceClose( );\r
 \r
     if ( fgState.InputDevsInitialised )\r
         fgInputDeviceClose( );\r
-\r
-    fgState.JoysticksInitialised = GL_FALSE;\r
-    fgState.InputDevsInitialised = GL_FALSE;\r
 }\r
 \r
 \r
 }\r
 \r
 \r