mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-02 17:15:35 +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
|
struct OgreOutputUpdater : Ogre::FrameListener
|
||||||
{
|
{
|
||||||
Mangle::Sound::SoundFactory &driver;
|
Mangle::Sound::SoundFactoryPtr driver;
|
||||||
|
|
||||||
OgreOutputUpdater(Mangle::Sound::SoundFactory &drv)
|
OgreOutputUpdater(Mangle::Sound::SoundFactoryPtr drv)
|
||||||
: driver(drv)
|
: driver(drv)
|
||||||
{ assert(drv.needsUpdate); }
|
{ assert(drv->needsUpdate); }
|
||||||
|
|
||||||
bool frameStarted(const Ogre::FrameEvent &evt)
|
bool frameStarted(const Ogre::FrameEvent &evt)
|
||||||
{
|
{
|
||||||
driver.update();
|
driver->update();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue