Don't use osgDB::SharedStateManager::share in SGLoadTexture2D
Don't use osgDB::SharedStateManager::share in SGLoadTexture2D

It is not safe to call this function from the database pager thread;
in any event, state sets and textures created in the database pager
will get passed through the SharedStateManager anyway.

slowriot/simgear,slowriot/simgear