Removing spurious warning message from new freeglut spaceball support per e-mail...
authorJohn F. Fay <johnffay@nettally.com>
Sat, 7 Nov 2009 02:16:38 +0000 (02:16 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Sat, 7 Nov 2009 02:16:38 +0000 (02:16 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@838 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_spaceball.c

index 0bec833..7816f66 100644 (file)
@@ -63,10 +63,8 @@ void fgInitialiseSpaceball(void)
     {\r
         Window w;\r
                \r
-        if(!fgStructure.CurrentWindow) {\r
-            fgWarning("fgInitialiseSpaceball: no current window!\n");\r
+        if(!fgStructure.CurrentWindow)\r
             return;\r
-        }\r
 \r
         w = fgStructure.CurrentWindow->Window.Handle;\r
         if(spnav_x11_open(fgDisplay.Display, w) == -1) {\r