used proper method

pull/5208/head
Ilya Lavrenov 9 years ago
parent 0e4bd80b80
commit 7da16d6f47
  1. 2
      samples/opengl/opengl_interop.cpp

@ -496,7 +496,7 @@ using namespace std;
int main(int argc, char** argv)
{
cv::CommandLineParser parser(argc, argv, keys);
bool useCamera = parser.has("camera");
bool useCamera = parser.get<bool>("camera");
string file = parser.get<string>("file");
bool showHelp = parser.get<bool>("help");

Loading…
Cancel
Save