forked from mirror/openmw-tes3mp
Suppress some warnings for MSVC.
This commit is contained in:
parent
19b380d0b4
commit
e01795556f
3 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
|
@ -12,6 +12,7 @@ class MovieAudioFactory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual boost::shared_ptr<MovieAudioDecoder> createDecoder(VideoState* videoState) = 0;
|
virtual boost::shared_ptr<MovieAudioDecoder> createDecoder(VideoState* videoState) = 0;
|
||||||
|
virtual ~MovieAudioFactory() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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…
Reference in a new issue