When throttling starts, we won't have noticed, so change test.

This commit is contained in:
howard-stearns 2015-12-03 13:39:41 -08:00
parent 30bbc82c24
commit f5b25791f4

View file

@ -119,7 +119,7 @@ bool Basic2DWindowOpenGLDisplayPlugin::isThrottled() const {
}
bool Basic2DWindowOpenGLDisplayPlugin::isVSynchronized() const {
return (_framerateTarget == 0) && (!_vsyncAction || _vsyncAction->isChecked());
return (_framerateTarget == 0) && !_isThrottled;
}
void Basic2DWindowOpenGLDisplayPlugin::updateFramerate() {