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
This commit is contained in:
parent
803c4f86a2
commit
e9ad401d84
@ -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) {
|
||||
|
Reference in New Issue
Block a user