1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 20:49:56 +00:00

fix crash when hardware occlusion queries unsupporetd

This commit is contained in:
scrawl 2012-04-02 20:46:42 +02:00
parent 5f2a674d93
commit d4a2bdfa3d

View file

@ -746,6 +746,7 @@ void SkyManager::setGlare(const float glare)
Vector3 SkyManager::getRealSunPos()
{
if (!mCreated) return Vector3(0,0,0);
return mSun->getNode()->_getDerivedPosition();
}