mirror of https://github.com/stella-emu/stella.git
Minor cleanup of warnings in FrameBuffer class.
This commit is contained in:
parent
2d03a2d059
commit
1055a4bd06
|
@ -46,13 +46,12 @@ FrameBuffer::FrameBuffer(OSystem& osystem)
|
|||
: myOSystem(osystem),
|
||||
myInitializedCount(0),
|
||||
myPausedCount(0),
|
||||
myStatsEnabled(false),
|
||||
myLastFrameRate(60),
|
||||
myCurrentModeList(nullptr),
|
||||
myTotalTime(0),
|
||||
myTotalFrames(0),
|
||||
myLastFrameRate(60)
|
||||
myTotalFrames(0)
|
||||
{
|
||||
myMsg.surface = myStatsMsg.surface = nullptr;
|
||||
myStatsEnabled = myMsg.enabled = myStatsMsg.enabled = false;
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
@ -509,6 +509,8 @@ class FrameBuffer
|
|||
uInt32 color;
|
||||
shared_ptr<FBSurface> surface;
|
||||
bool enabled;
|
||||
|
||||
Message() : counter(0), x(0), y(0), w(0), h(0), color(0), enabled(false) { }
|
||||
};
|
||||
Message myMsg;
|
||||
Message myStatsMsg;
|
||||
|
@ -537,7 +539,6 @@ class FrameBuffer
|
|||
|
||||
uInt64 myTotalTime;
|
||||
uInt64 myTotalFrames;
|
||||
float myLastRunFrameRate;
|
||||
|
||||
private:
|
||||
// Following constructors and assignment operators not supported
|
||||
|
|
Loading…
Reference in New Issue