mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 18:40:01 +00:00
changed OGRE framelistener function from frameStarted to frameRenderingQueued
This commit is contained in:
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…
x
Reference in New Issue
Block a user