Merge pull request #5146 from avershov:fix-issue-5122

pull/5152/merge
Alexander Alekhin 10 years ago
commit 11b3529b39
  1. 2
      samples/opengl/opengl_interop.cpp
  2. 2
      samples/opengl/winapp.hpp

@ -329,7 +329,7 @@ public:
glXSwapBuffers(m_display, m_window);
#endif
print_info(mode, m_timer.time(Timer::UNITS::MSEC), m_oclDevName);
print_info(mode, m_timer.time(Timer::MSEC), m_oclDevName);
}

@ -56,7 +56,7 @@ public:
m_diff = cv::getTickCount() - m_t0;
}
float time(UNITS u = UNITS::MSEC)
float time(UNITS u = MSEC)
{
float sec = m_diff / m_tick_frequency;

Loading…
Cancel
Save