1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:37:35 +00:00

3DFileViewer: Use ElapsedTimer::start_new()

This commit is contained in:
Brian Gianforcaro 2021-09-12 08:53:55 -07:00 committed by Brian Gianforcaro
parent a34ea51ca4
commit 6c0329c806

View file

@ -153,8 +153,7 @@ void GLContextWidget::mousewheel_event(GUI::MouseEvent& event)
void GLContextWidget::timer_event(Core::TimerEvent&)
{
Core::ElapsedTimer timer;
timer.start();
auto timer = Core::ElapsedTimer::start_new();
glCallList(m_init_list);