OSX re-tweak, might need a more accurate frame timer for windows..

This commit is contained in:
Charles J. Cliffe 2015-08-12 16:47:35 -04:00
parent acd856646f
commit d2dbb2ff11

View File

@ -405,7 +405,14 @@ void AppFrame::initDeviceParams(std::string deviceId) {
if (!frame_timer.IsRunning()) {
// frame rate = 1000 / 30 = 33ms
// windows needs a bit more time or it lags?
#ifdef _WIN32
frame_timer.Start(25);
#else
frame_timer.Start(33);
#endif
}
}