Fixed compile error

This commit is contained in:
Sam Lantinga 2012-05-30 11:43:33 -04:00
parent 6accd81680
commit e9df7f2d7b

View file

@ -324,6 +324,8 @@ int
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 };