mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 18:07:40 +00:00
Removed SDL_INIT_TIMER
This is no longer necessary before calling SDL_AddTimer()
This commit is contained in:
parent
9275c533ca
commit
f3e419596b
10 changed files with 6 additions and 52 deletions
|
@ -22,13 +22,6 @@ static int g_timerCallbackCalled = 0;
|
|||
|
||||
static void SDLCALL timerSetUp(void **arg)
|
||||
{
|
||||
/* Start SDL timer subsystem */
|
||||
SDL_bool ret = SDL_InitSubSystem(SDL_INIT_TIMER);
|
||||
SDLTest_AssertPass("Call to SDL_InitSubSystem(SDL_INIT_TIMER)");
|
||||
SDLTest_AssertCheck(ret == SDL_TRUE, "Check result from SDL_InitSubSystem(SDL_INIT_TIMER)");
|
||||
if (!ret) {
|
||||
SDLTest_LogError("%s", SDL_GetError());
|
||||
}
|
||||
}
|
||||
|
||||
/* Test case functions */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue