I concur. There are no references that I can find.
Furthermore, the code:
ShaderGenerator *ShaderGenerator::
get_default() {
if (_default_generator == (ShaderGenerator *)NULL) {
_default_generator = new ShaderGenerator;
}
return _default_generator;
}
Can’t get much simpler…
GCC on Mac OS X returns 0 for undefined variables - same as NULL, so the if() should work.
So if this is the problem, then I’m stumped as well