mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 06:53:52 +00:00
Always use ref_ptr for query geometry
This commit is contained in:
parent
5de1e0fb0c
commit
776c0857fa
1 changed files with 1 additions and 1 deletions
|
@ -563,7 +563,7 @@ private:
|
|||
// With OSG 3.6.5, the method of providing user defined query geometry has been completely replaced
|
||||
osg::ref_ptr<osg::QueryGeometry> queryGeom = new osg::QueryGeometry(oqn->getName());
|
||||
#else
|
||||
auto* queryGeom = oqn->getQueryGeometry();
|
||||
osg::ref_ptr<osg::QueryGeometry> queryGeom = oqn->getQueryGeometry();
|
||||
#endif
|
||||
|
||||
// Make it fast! A DYNAMIC query geometry means we can't break frame until the flare is rendered (which is rendered after all the other geometry,
|
||||
|
|
Loading…
Reference in a new issue