mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +00:00
3DFileViewer: Use ElapsedTimer::start_new()
This commit is contained in:
parent
a34ea51ca4
commit
6c0329c806
Notes:
sideshowbarker
2024-07-18 04:06:41 +09:00
Author: https://github.com/bgianfo
Commit: 6c0329c806
Pull-request: https://github.com/SerenityOS/serenity/pull/9999
Reviewed-by: https://github.com/awesomekling ✅
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&)
|
||||
{
|
||||
Core::ElapsedTimer timer;
|
||||
timer.start();
|
||||
auto timer = Core::ElapsedTimer::start_new();
|
||||
|
||||
glCallList(m_init_list);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue