Fix *nix compile.

This commit is contained in:
couriersud 2016-04-18 18:46:12 +02:00
parent 4bf89be02c
commit 82188dee99

View File

@ -985,7 +985,7 @@ OSDWORK_CALLBACK( sdl_window_info::complete_create_wt )
* is in place after the mode switch - which will most likely be the case
* This is a hack to work around a deficiency in SDL2
*/
SDL_WarpMouseInWindow(window->sdl_window(), 1, 1);
SDL_WarpMouseInWindow(window->platform_window<SDL_Window*>(), 1, 1);
#endif
}
else