Remove our idle() from paintGL now that it's in master

This commit is contained in:
Atlante45 2015-11-03 17:54:58 -08:00
parent 55894f2eee
commit 3a545399e3

View file

@ -1074,10 +1074,6 @@ void Application::paintGL() {
if (_inPaint) {
return;
}
// this is a good idea
idle();
_inPaint = true;
Finally clearFlagLambda([this] { _inPaint = false; });
@ -2125,7 +2121,7 @@ void Application::idle(uint64_t now) {
float secondsSinceLastUpdate = timeSinceLastUpdateUs / USECS_PER_SECOND;
if (isThrottled && (timeSinceLastUpdateUs / USECS_PER_MSEC) < THROTTLED_SIM_FRAME_PERIOD_MS) {
//return; // bail early, we're throttled and not enough time has elapsed
return; // bail early, we're throttled and not enough time has elapsed
}
_lastTimeUpdated.start();