-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check critical static variables are initialized
In iOS the following innocent statement: static Ogre::Radian globalVar = Ogre::Degree( 90.0 ); can result in globalVar = 0 if static variables such as Math::PI are not yet initialized. This introduces very subtle bugs in iOS that are hard to detect and yet work fine on other platforms
- Loading branch information
1 parent
d1984c5
commit 9c5ba9b
Showing
2 changed files
with
35 additions
and
2 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