mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:57:34 +00:00
3DFileViewer: Use ElapsedTimer::start_new()
This commit is contained in:
parent
a34ea51ca4
commit
6c0329c806
1 changed files with 1 additions and 2 deletions
|
@ -153,8 +153,7 @@ void GLContextWidget::mousewheel_event(GUI::MouseEvent& event)
|
||||||
|
|
||||||
void GLContextWidget::timer_event(Core::TimerEvent&)
|
void GLContextWidget::timer_event(Core::TimerEvent&)
|
||||||
{
|
{
|
||||||
Core::ElapsedTimer timer;
|
auto timer = Core::ElapsedTimer::start_new();
|
||||||
timer.start();
|
|
||||||
|
|
||||||
glCallList(m_init_list);
|
glCallList(m_init_list);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue