X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_spaceball.c;h=4901e79abe3a5e2f553ac36251a274cb9701a412;hb=6c3c78f5fe46f0126e26dcae456ebdec502913f5;hp=89655f4571f940e112fe3094d50e64b9d03b4cfc;hpb=76abafb9109bfc14c93c9f86574b7a1ce1dae957;p=freeglut diff --git a/src/Common/freeglut_spaceball.c b/src/Common/freeglut_spaceball.c index 89655f4..4901e79 100644 --- a/src/Common/freeglut_spaceball.c +++ b/src/Common/freeglut_spaceball.c @@ -77,7 +77,7 @@ void fgInitialiseSpaceball(void) } w = fgStructure.CurrentWindow->Window.Handle; - if(spnav_x11_open(fgDisplay.Display, w) == -1) + if(spnav_x11_open(fgDisplay.pDisplay.Display, w) == -1) { sball_initialized = -1; return;