correct stat collection for mixer frame time usage

This commit is contained in:
Stephen Birarda 2013-06-18 10:46:45 -07:00
parent 667fa566d5
commit 5918c492cc

View file

@ -412,6 +412,9 @@ int main(int argc, const char* argv[]) {
if (percentageOfMaxElapsed > 0) {
sumFrameTimePercentages += percentageOfMaxElapsed;
} else {
// a negative value suggests that we've taken 100% of the allowable time
sumFrameTimePercentages += 100;
}
numStatCollections++;