forked from RigsOfRods/rigs-of-rods
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HydraX: fixed crash when going underwater (bad compositor cleanup)
Fixes the following scenario: 1. start game and select HydraX in settings 2. load terrain with water, like Auriga Proving Grounds 3. In top menubar/settings, change water type to HydraX to trigger reloading water. 4. put camera under water -> crash due to compositor not existing. Cause: creating it failed because the previous one wasnt cleaned up properly. The fix is in file 'MaterialManager.cpp', func `void MaterialManager::_destroyUnderwaterCompositor()` - the rest is a cleanup of HydraX compositor handling code.
- Loading branch information
Showing
4 changed files
with
45 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters