]> git.mxchange.org Git - simgear.git/commit
If we pass in a position or velocity of nan, openal will generate an assertion.
authorcurt <curt>
Thu, 1 Jul 2004 19:05:37 +0000 (19:05 +0000)
committercurt <curt>
Thu, 1 Jul 2004 19:05:37 +0000 (19:05 +0000)
commita7b35c6e22125f31c68c35b7436f72c2feef5970
treea55ee3d1c8ace04ff01f5ad6eddec364bace8bbb
parent5034346b67d853b11de71677b677dea2df597a95
If we pass in a position or velocity of nan, openal will generate an assertion.
Under rare circumstances we could encounter a non-cooperative external fdm
that could trigger this condition.  This patch catches the problem and returns
rather than letting FG get killed.
simgear/sound/soundmgr_openal.cxx