1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:27:43 +00:00

Start separating out the SDL-related stuff in Widgets.

This commit is contained in:
Andreas Kling 2019-01-10 05:21:19 +01:00
parent 077f1007eb
commit 3e908abfca
9 changed files with 54 additions and 34 deletions

View file

@ -72,7 +72,7 @@ void Object::startTimer(int ms)
printf("Object{%p} already has a timer!\n", this);
ASSERT_NOT_REACHED();
}
#if USE_SDL
#ifdef USE_SDL
m_timerID = SDL_AddTimer(ms, sdlTimerCallback, this);
#endif
}