test/testtimer.c
changeset 9922 b066d5fd5fa7
parent 9619 b94b6d0bff0f
child 9939 6ccf11a01cb5
equal deleted inserted replaced
9921:8865d17947de 9922:b066d5fd5fa7
    43     int i, desired;
    43     int i, desired;
    44     SDL_TimerID t1, t2, t3;
    44     SDL_TimerID t1, t2, t3;
    45     Uint32 start32, now32;
    45     Uint32 start32, now32;
    46     Uint64 start, now;
    46     Uint64 start, now;
    47 
    47 
    48 	/* Enable standard application logging */
    48     /* Enable standard application logging */
    49     SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
    49     SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
    50 
    50 
    51     if (SDL_Init(SDL_INIT_TIMER) < 0) {
    51     if (SDL_Init(SDL_INIT_TIMER) < 0) {
    52         SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't initialize SDL: %s\n", SDL_GetError());
    52         SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't initialize SDL: %s\n", SDL_GetError());
    53         return (1);
    53         return (1);