Skip to content

Commit

Permalink
applied changes proposed in 5122
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Ershov committed Aug 6, 2015
1 parent 573858f commit c7f420b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/opengl/opengl_interop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class GLWinApp : public WinApp
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);
}


Expand Down
2 changes: 1 addition & 1 deletion samples/opengl/winapp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Timer
m_diff = cv::getTickCount() - m_t0;
}

float time(UNITS u = UNITS::MSEC)
float time(UNITS u = MSEC)
{
float sec = m_diff / m_tick_frequency;

Expand Down

0 comments on commit c7f420b

Please sign in to comment.