mirror of
https://github.com/opencv/opencv.git
synced 2026-09-13 05:42:51 -05:00
samples: repair viz tutorial
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user