Fixed compile error
authorSam Lantinga <slouken@libsdl.org>
Wed, 30 May 2012 11:43:33 -0400
changeset 6312 b3ae153ff088
parent 6311 4e5e46f43438
child 6313 d86efd889847
Fixed compile error
src/video/x11/SDL_x11video.c
--- a/src/video/x11/SDL_x11video.c	Wed May 30 11:25:35 2012 -0400
+++ b/src/video/x11/SDL_x11video.c	Wed May 30 11:43:33 2012 -0400
@@ -324,6 +324,8 @@
 X11_CheckXInput2(_THIS)
 {
 #if SDL_VIDEO_DRIVER_X11_XINPUT2
+    SDL_VideoData *data = (SDL_VideoData *) _this->driverdata;
+
     if (SDL_X11_HAVE_XINPUT2) {
         XIEventMask eventmask;
         unsigned char mask[3] = { 0,0,0 };