Skip to content

Commit 68f19ef

Browse files
authored
Don't try to initialize haptic
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.
1 parent 76bfb61 commit 68f19ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ogre/BaseApp_Create.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ bool BaseApp::configure()
254254

255255
mRoot->initialise(false);
256256

257-
Uint32 flags = SDL_INIT_VIDEO|SDL_INIT_JOYSTICK|SDL_INIT_HAPTIC|SDL_INIT_NOPARACHUTE;
257+
Uint32 flags = SDL_INIT_VIDEO|SDL_INIT_JOYSTICK|SDL_INIT_NOPARACHUTE;
258258
if (SDL_WasInit(flags) == 0)
259259
{
260260
SDL_SetHint(SDL_HINT_RENDER_DRIVER, "software");

0 commit comments

Comments
 (0)