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