mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-22 22:53:52 +00:00
Another minor fix
This commit is contained in:
parent
fb2d077ca9
commit
86a811c736
1 changed files with 4 additions and 4 deletions
|
@ -14,15 +14,15 @@ namespace Sound {
|
|||
|
||||
struct OgreOutputUpdater : Ogre::FrameListener
|
||||
{
|
||||
Mangle::Sound::SoundFactory &driver;
|
||||
Mangle::Sound::SoundFactoryPtr driver;
|
||||
|
||||
OgreOutputUpdater(Mangle::Sound::SoundFactory &drv)
|
||||
OgreOutputUpdater(Mangle::Sound::SoundFactoryPtr drv)
|
||||
: driver(drv)
|
||||
{ assert(drv.needsUpdate); }
|
||||
{ assert(drv->needsUpdate); }
|
||||
|
||||
bool frameStarted(const Ogre::FrameEvent &evt)
|
||||
{
|
||||
driver.update();
|
||||
driver->update();
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue