Fixed the XInput2 X11 symbols.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 18 Oct 2013 10:56:45 -0400
changeset 7836 b7c1c84c33e3
parent 7835 4be86f76e710
child 7837 2f2f0b3b4702
Fixed the XInput2 X11 symbols.
src/video/x11/SDL_x11xinput2.c
--- a/src/video/x11/SDL_x11xinput2.c	Fri Oct 18 00:49:59 2013 -0700
+++ b/src/video/x11/SDL_x11xinput2.c	Fri Oct 18 10:56:45 2013 -0400
@@ -179,7 +179,7 @@
     SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
     XIDeviceInfo *info;
     int ndevices,i,j;
-    info = XIQueryDevice(data->display, XIAllMasterDevices, &ndevices);
+    info = X11_XIQueryDevice(data->display, XIAllMasterDevices, &ndevices);
 
     for (i = 0; i < ndevices; i++) {
         XIDeviceInfo *dev = &info[i];
@@ -198,7 +198,7 @@
             }
         }
     }
-    XIFreeDeviceInfo(info);
+    X11_XIFreeDeviceInfo(info);
 #endif
 }