mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +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&)
|
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