Commit f0e70cbf authored by Alexander Alekhin's avatar Alexander Alekhin

Merge remote-tracking branch 'upstream/3.4' into merge-3.4

parents f9a8f0ed 617466c1
...@@ -227,7 +227,8 @@ struct Application : public OgreBites::ApplicationContext, public OgreBites::Inp ...@@ -227,7 +227,8 @@ struct Application : public OgreBites::ApplicationContext, public OgreBites::Inp
if (flags & SCENE_AA) if (flags & SCENE_AA)
miscParams["FSAA"] = "4"; miscParams["FSAA"] = "4";
miscParams["vsync"] = "true"; miscParams["vsync"] = Ogre::StringConverter::toString(
!utils::getConfigurationParameterBool("OPENCV_OVIS_NOVSYNC", false));
OgreBites::NativeWindowPair ret = OgreBites::NativeWindowPair ret =
OgreBites::ApplicationContext::createWindow(_name, _w, _h, miscParams); OgreBites::ApplicationContext::createWindow(_name, _w, _h, miscParams);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment