Skip to content

Commit

Permalink
Don't try to initialize haptic
Browse files Browse the repository at this point in the history
This make the game fail to start on FreeBSD, because SDL does not support haptic there. SDL_haptic doesn't seem to be used in the game anyway.
  • Loading branch information
AMDmi3 committed Jul 24, 2017
1 parent 76bfb61 commit 68f19ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ogre/BaseApp_Create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ bool BaseApp::configure()

mRoot->initialise(false);

Uint32 flags = SDL_INIT_VIDEO|SDL_INIT_JOYSTICK|SDL_INIT_HAPTIC|SDL_INIT_NOPARACHUTE;
Uint32 flags = SDL_INIT_VIDEO|SDL_INIT_JOYSTICK|SDL_INIT_NOPARACHUTE;
if (SDL_WasInit(flags) == 0)
{
SDL_SetHint(SDL_HINT_RENDER_DRIVER, "software");
Expand Down

0 comments on commit 68f19ef

Please sign in to comment.