test/testvidinfo.c
changeset 483 32190cba6c40
parent 482 6417071ba2e5
child 524 1b8ea19e9ee4
equal deleted inserted replaced
482:6417071ba2e5 483:32190cba6c40
    64 	Uint32 then, now;
    64 	Uint32 then, now;
    65 	Uint32 frames;
    65 	Uint32 frames;
    66 	float seconds;
    66 	float seconds;
    67 	int i;
    67 	int i;
    68 	Uint8 r, g, b;
    68 	Uint8 r, g, b;
    69 	Uint32 pixel;
       
    70 	SDL_Surface *bmp, *tmp;
    69 	SDL_Surface *bmp, *tmp;
    71 	SDL_Event event;
    70 	SDL_Event event;
    72 
    71 
    73 	while ( SDL_PollEvent(&event) ) {
    72 	while ( SDL_PollEvent(&event) ) {
    74 		if ( event.type == SDL_KEYDOWN )
    73 		if ( event.type == SDL_KEYDOWN )