From a33073f99641e21123440377530395ea33e8d254 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Thu, 7 Mar 2019 13:58:48 +0100 Subject: [PATCH] Fix the EGL application build. --- src/application/egl-app.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/application/egl-app.cpp b/src/application/egl-app.cpp index 0737d769..4eb4a8dc 100644 --- a/src/application/egl-app.cpp +++ b/src/application/egl-app.cpp @@ -249,7 +249,7 @@ EglApp::EglApp(char const *title, ivec2 res, float fps) : # endif /* Initialise everything */ - Ticker::Setup(fps); + ticker::setup(fps); Video::Setup((ivec2)data->screen_size); audio::init(); #else @@ -266,7 +266,7 @@ void EglApp::ShowPointer(bool show) void EglApp::Tick() { /* Tick the renderer, show the frame and clamp to desired framerate. */ - Ticker::tick_draw(); + ticker::tick_draw(); #if defined LOL_USE_EGL && !defined __ANDROID__ eglSwapBuffers(data->egl_dpy, data->egl_surf); #endif @@ -285,6 +285,7 @@ EglApp::~EglApp() XCloseDisplay(data->dpy); # endif #endif + ticker::teardown(); delete data; }