#include #include "pixel.h" int main(int argc, char **argv) { SDL_Init(SDL_INIT_EVERYTHING); SDL_Surface *screen = SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE); int quit = 0; SDL_Event event; while(!quit) { if(SDL_PollEvent(&event)) { if(event.type == SDL_QUIT) { quit = 1; } } SDL_Delay(10); } SDL_Quit(); return 0; }