Fixed the XInput2 X11 symbols.

main
Ryan C. Gordon 2013-10-18 10:56:45 -04:00
parent 5a02600647
commit b4a00144fb
1 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ X11_InitXinput2Multitouch(_THIS)
SDL_VideoData *data = (SDL_VideoData *) _this->driverdata; SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
XIDeviceInfo *info; XIDeviceInfo *info;
int ndevices,i,j; int ndevices,i,j;
info = XIQueryDevice(data->display, XIAllMasterDevices, &ndevices); info = X11_XIQueryDevice(data->display, XIAllMasterDevices, &ndevices);
for (i = 0; i < ndevices; i++) { for (i = 0; i < ndevices; i++) {
XIDeviceInfo *dev = &info[i]; XIDeviceInfo *dev = &info[i];
@ -198,7 +198,7 @@ X11_InitXinput2Multitouch(_THIS)
} }
} }
} }
XIFreeDeviceInfo(info); X11_XIFreeDeviceInfo(info);
#endif #endif
} }