Fix what looks like an inconsistency in the calculation of scanline count.

This commit is contained in:
Christian Speckner 2017-01-01 22:34:01 +01:00
parent a83e7eb26d
commit a5f1a8624f
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ uInt32 FrameManager::currentLine() const
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uInt32 FrameManager::scanlines() const
{
return myState == State::frame ? myLineInState : myCurrentFrameFinalLines;
return myState == State::frame ? myCurrentFrameTotalLines : myCurrentFrameFinalLines;
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -