void DrmDisplay::enableVsync() {
mVsyncEnabled = true;
- if (mModeSet) {
- mVsyncThread.enable();
- }
+ mVsyncThread.enable();
}
void DrmDisplay::disableVsync() {
<< " for display " << *this;
} else {
mModeSet = true;
- if (mVsyncEnabled)
- mVsyncThread.enable();
}
}
}