applied changes proposed in 5122

pull/5146/head
Alexey Ershov 10 years ago
parent 573858f134
commit c7f420ba75
  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