Browse Source

Fix the EGL application build.

legacy
Sam Hocevar 5 years ago
parent
commit
a33073f996
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/application/egl-app.cpp

+ 3
- 2
src/application/egl-app.cpp View File

@@ -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;
}


Loading…
Cancel
Save