Explorar o código

Fixed the XInput2 X11 symbols.

Ryan C. Gordon %!s(int64=12) %!d(string=hai) anos
pai
achega
b4a00144fb
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/video/x11/SDL_x11xinput2.c

+ 2 - 2
src/video/x11/SDL_x11xinput2.c

@@ -179,7 +179,7 @@ X11_InitXinput2Multitouch(_THIS)
     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 @@ X11_InitXinput2Multitouch(_THIS)
             }
         }
     }
-    XIFreeDeviceInfo(info);
+    X11_XIFreeDeviceInfo(info);
 #endif
 }