Hi,
I'm having crashes in the deferred shading sample, due to bad initialization of static values.
For instance, one of theses crashes is caused by GBufferSchemeHandler::NORMAL_MAP_PATTERN being empty at runtime, instead of being initialized to "normal".
If I change the type from const static String to const static char* everything is fine.
I don't really know why, but I suppose it's a problem with static string & dll dynamic loading..however, static strings in OgreMain.dll (like MaterialManager::DEFAULT_SCHEME_NAME) have correct values.
Thanks for any help.
[1.10]Crash in deferred sample
-
- Google Summer of Code Student
- Posts: 1005
- Joined: Wed Jan 08, 2003 9:15 pm
- Location: Lyon, France
- x 49
- Contact: