test/testshape.c
changeset 5123 dc0dfdd58f27
parent 5032 6ccfbaef0c0a
child 5142 c8e049de174c
equal deleted inserted replaced
5122:0ec550f04bbc 5123:dc0dfdd58f27
    58 	if(argc < 2) {
    58 	if(argc < 2) {
    59     	printf("SDL_Shape requires at least one bitmap file as argument.\n");
    59     	printf("SDL_Shape requires at least one bitmap file as argument.\n");
    60     	exit(-1);
    60     	exit(-1);
    61     }
    61     }
    62 	
    62 	
    63 	if(SDL_VideoInit(NULL,0) == -1) {
    63 	if(SDL_VideoInit(NULL) == -1) {
    64 		printf("Could not initialize SDL video.\n");
    64 		printf("Could not initialize SDL video.\n");
    65 		exit(-2);
    65 		exit(-2);
    66 	}
    66 	}
    67 	
    67 	
    68 	num_pictures = argc - 1;
    68 	num_pictures = argc - 1;