forked from teamnwah/openmw-tes3coop
Fix LightSource crash
This commit is contained in:
parent
9b8e45fc01
commit
f336c6db87
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ namespace SceneUtil
|
||||||
|
|
||||||
struct LightSourceTransform
|
struct LightSourceTransform
|
||||||
{
|
{
|
||||||
LightSource* mLightSource;
|
osg::ref_ptr<LightSource> mLightSource;
|
||||||
osg::Matrix mWorldMatrix;
|
osg::Matrix mWorldMatrix;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ namespace SceneUtil
|
||||||
|
|
||||||
struct LightSourceViewBound
|
struct LightSourceViewBound
|
||||||
{
|
{
|
||||||
LightSource* mLightSource;
|
osg::ref_ptr<LightSource> mLightSource;
|
||||||
osg::BoundingSphere mViewBound;
|
osg::BoundingSphere mViewBound;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue