Commit 03981046 authored by Sam Lantinga's avatar Sam Lantinga

Fixed crash on Windows XP

parent 794752a1
......@@ -145,7 +145,9 @@ SetupWindowData(_THIS, SDL_Window * window, HWND hwnd, SDL_bool created)
}
/* Enable multi-touch */
if (videodata->RegisterTouchWindow) {
videodata->RegisterTouchWindow(hwnd, (TWF_FINETOUCH|TWF_WANTPALM));
}
/* All done! */
window->driverdata = data;
......@@ -642,5 +644,4 @@ SDL_HelperWindowDestroy(void)
}
}
/* vi: set ts=4 sw=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment