1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

samples: repair viz tutorial

This commit is contained in:
Alexander Alekhin
2016-06-29 16:35:48 +03:00
parent 5346870920
commit 8184535de1
4 changed files with 31 additions and 5 deletions
@@ -41,7 +41,7 @@ int main()
cout << "First event loop is over" << endl;
/// Access window via its name
viz::Viz3d sameWindow = viz::get("Viz Demo");
viz::Viz3d sameWindow = viz::getWindowByName("Viz Demo");
/// Start event loop
sameWindow.spin();