Commit f23d1e9c authored by Pavel Rojtberg's avatar Pavel Rojtberg

ovis: allow disabling VSYNC - useful in multiwindow scenarios

or with batch rendering
parent 9e190bcd
......@@ -227,7 +227,8 @@ struct Application : public OgreBites::ApplicationContext, public OgreBites::Inp
if (flags & SCENE_AA)
miscParams["FSAA"] = "4";
miscParams["vsync"] = "true";
miscParams["vsync"] = Ogre::StringConverter::toString(
!utils::getConfigurationParameterBool("OPENCV_OVIS_NOVSYNC", false));
OgreBites::NativeWindowPair ret =
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