forked from organicmaps/organicmaps
check for invalid fence id to reduce logging.
This commit is contained in:
parent
5dad0f2c7b
commit
e1c192c9c5
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ void CoverageGenerator::JoinBenchmarkFence(int fenceID)
|
|||
|
||||
void CoverageGenerator::SignalBenchmarkFence()
|
||||
{
|
||||
m_fenceManager.signalFence(m_currentFenceID);
|
||||
if (m_currentFenceID != -1)
|
||||
m_fenceManager.signalFence(m_currentFenceID);
|
||||
}
|
||||
|
||||
void CoverageGenerator::CoverScreen(ScreenBase const & screen, int sequenceID)
|
||||
|
|
Loading…
Add table
Reference in a new issue