Core/Misc: update g3dlite lib (#2904)

* Core/Misc: update g3dlite lib

* update

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
This commit is contained in:
Viste
2020-07-30 13:35:45 +03:00
committed by GitHub
parent 91bbbf08eb
commit fcaf91b8b2
183 changed files with 13258 additions and 8022 deletions

View File

@@ -105,15 +105,16 @@ void Stopwatch::reset() {
void Stopwatch::after(const std::string& s) {
RealTime now = System::time();
debugPrintf("%s: %10s - %8fs since %s (%fs since start)\n",
myName.c_str(),
s.c_str(),
now - prevTime,
prevMark.c_str(),
now - startTime);
if (m_enabled) {
debugPrintf("%s: %10s - %8fs since %s (%fs since start)\n",
myName.c_str(),
s.c_str(),
now - prevTime,
prevMark.c_str(),
now - startTime);
}
prevTime = now;
prevMark = s;
}
}