Merge remote-tracking branch 'cc9cii/master'

loadfix
Marc Zinnschlag 10 years ago
commit 4678d26c22

@ -132,6 +132,7 @@ namespace MWGui
virtual int pageSplit(); virtual int pageSplit();
protected: protected:
virtual ~GraphicElement() {}
MyGUI::Widget * mParent; MyGUI::Widget * mParent;
Paginator & mPaginator; Paginator & mPaginator;
BlockStyle mBlockStyle; BlockStyle mBlockStyle;

@ -382,7 +382,6 @@ endmacro()
ogre_find_component(Paging OgrePaging.h) ogre_find_component(Paging OgrePaging.h)
# look for Overlay component # look for Overlay component
ogre_find_component(Overlay OgreOverlaySystem.h) ogre_find_component(Overlay OgreOverlaySystem.h)
ogre_find_component(Overlay OgreOverlay.h)
# look for Terrain component # look for Terrain component
ogre_find_component(Terrain OgreTerrain.h) ogre_find_component(Terrain OgreTerrain.h)
# look for Property component # look for Property component

@ -1,5 +1,6 @@
#include "videoplayer.hpp" #include "videoplayer.hpp"
#include "audiofactory.hpp"
#include "videostate.hpp" #include "videostate.hpp"
namespace Video namespace Video

@ -221,7 +221,7 @@ void VideoState::video_refresh()
} }
else else
{ {
const float threshold = 0.03; const float threshold = 0.03f;
if (this->pictq[pictq_rindex].pts > this->get_master_clock() + threshold) if (this->pictq[pictq_rindex].pts > this->get_master_clock() + threshold)
return; // not ready yet to show this picture return; // not ready yet to show this picture

Loading…
Cancel
Save