mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 18:55:01 +02:00
When throttling starts, we won't have noticed, so change test.
This commit is contained in:
parent
30bbc82c24
commit
f5b25791f4
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue