forked from mirror/openmw-tes3mp
changed OGRE framelistener function from frameStarted to frameRenderingQueued
This commit is contained in:
parent
80691250ec
commit
64d6ee26bd
3 changed files with 3 additions and 3 deletions
|
@ -76,7 +76,7 @@ void OMW::Engine::executeLocalScripts()
|
|||
}
|
||||
|
||||
|
||||
bool OMW::Engine::frameStarted(const Ogre::FrameEvent& evt)
|
||||
bool OMW::Engine::frameRenderingQueued (const Ogre::FrameEvent& evt)
|
||||
{
|
||||
if(mShowFPS)
|
||||
{
|
||||
|
|
|
@ -100,7 +100,7 @@ namespace OMW
|
|||
|
||||
void executeLocalScripts();
|
||||
|
||||
virtual bool frameStarted(const Ogre::FrameEvent& evt);
|
||||
virtual bool frameRenderingQueued (const Ogre::FrameEvent& evt);
|
||||
|
||||
/// Process pending commands
|
||||
|
||||
|
|
|
@ -258,7 +258,7 @@ namespace MWInput
|
|||
}
|
||||
|
||||
//NOTE: Used to check for movement keys
|
||||
bool frameStarted(const Ogre::FrameEvent &evt)
|
||||
bool frameRenderingQueued (const Ogre::FrameEvent &evt)
|
||||
{
|
||||
// Tell OIS to handle all input events
|
||||
input.capture();
|
||||
|
|
Loading…
Reference in a new issue