comparison test/common.c @ 5125:dc0dfdd58f27

Removed completely non-portable event thread hack. Next I'll be working on generalizing the event sources and making the event queue lock-free. :)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 27 Jan 2011 22:44:08 -0800
parents 686d795b1b29
children da10636e5eca
comparison
equal deleted inserted replaced
5124:0ec550f04bbc 5125:dc0dfdd58f27
614 fprintf(stderr, " %s", SDL_GetVideoDriver(i)); 614 fprintf(stderr, " %s", SDL_GetVideoDriver(i));
615 } 615 }
616 fprintf(stderr, "\n"); 616 fprintf(stderr, "\n");
617 } 617 }
618 } 618 }
619 if (SDL_VideoInit(state->videodriver, 0) < 0) { 619 if (SDL_VideoInit(state->videodriver) < 0) {
620 fprintf(stderr, "Couldn't initialize video driver: %s\n", 620 fprintf(stderr, "Couldn't initialize video driver: %s\n",
621 SDL_GetError()); 621 SDL_GetError());
622 return SDL_FALSE; 622 return SDL_FALSE;
623 } 623 }
624 if (state->verbose & VERBOSE_VIDEO) { 624 if (state->verbose & VERBOSE_VIDEO) {