changed OGRE framelistener function from frameStarted to frameRenderingQueued

actorid
Marc Zinnschlag 14 years ago
parent 80691250ec
commit 64d6ee26bd

@ -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) if(mShowFPS)
{ {

@ -100,7 +100,7 @@ namespace OMW
void executeLocalScripts(); void executeLocalScripts();
virtual bool frameStarted(const Ogre::FrameEvent& evt); virtual bool frameRenderingQueued (const Ogre::FrameEvent& evt);
/// Process pending commands /// Process pending commands

@ -258,7 +258,7 @@ namespace MWInput
} }
//NOTE: Used to check for movement keys //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 // Tell OIS to handle all input events
input.capture(); input.capture();

Loading…
Cancel
Save