Mercurial > sdl-ios-xcode
comparison test/testshape.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 | 6ccfbaef0c0a |
children | c8e049de174c |
comparison
equal
deleted
inserted
replaced
5124:0ec550f04bbc | 5125: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; |