From e9ad401d84f1ab79a9c54aa9fa1bbd0119770fa7 Mon Sep 17 00:00:00 2001 From: fayjf Date: Sat, 7 Nov 2009 02:16:38 +0000 Subject: [PATCH] Removing spurious warning message from new freeglut spaceball support per e-mail from John Tsiombikas dated 11/06/09 12:19 PM git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@838 7f0cb862-5218-0410-a997-914c9d46530a --- freeglut/freeglut/src/freeglut_spaceball.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/freeglut/freeglut/src/freeglut_spaceball.c b/freeglut/freeglut/src/freeglut_spaceball.c index 0bec833..7816f66 100644 --- a/freeglut/freeglut/src/freeglut_spaceball.c +++ b/freeglut/freeglut/src/freeglut_spaceball.c @@ -63,10 +63,8 @@ void fgInitialiseSpaceball(void) { Window w; - if(!fgStructure.CurrentWindow) { - fgWarning("fgInitialiseSpaceball: no current window!\n"); + if(!fgStructure.CurrentWindow) return; - } w = fgStructure.CurrentWindow->Window.Handle; if(spnav_x11_open(fgDisplay.Display, w) == -1) {