test/testshape.c
changeset 9922 b066d5fd5fa7
parent 9619 b94b6d0bff0f
child 9998 f67cf37e9cd4
equal deleted inserted replaced
9921:8865d17947de 9922:b066d5fd5fa7
    58 
    58 
    59     /* Enable standard application logging */
    59     /* Enable standard application logging */
    60     SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
    60     SDL_LogSetPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
    61 
    61 
    62     if(argc < 2) {
    62     if(argc < 2) {
    63 		SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_Shape requires at least one bitmap file as argument.");
    63         SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "SDL_Shape requires at least one bitmap file as argument.");
    64         exit(-1);
    64         exit(-1);
    65     }
    65     }
    66 
    66 
    67     if(SDL_VideoInit(NULL) == -1) {
    67     if(SDL_VideoInit(NULL) == -1) {
    68         SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Could not initialize SDL video.");
    68         SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Could not initialize SDL video.");