X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2FCommon%2Ffreeglut_spaceball.c;h=4901e79abe3a5e2f553ac36251a274cb9701a412;hb=814beaa77f437cf4cf6cac9f748235488f6478a1;hp=89655f4571f940e112fe3094d50e64b9d03b4cfc;hpb=d2f7ea29ea6d946f455f4363c3f058ff2bdfba35;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;