Mercurial > sdl-ios-xcode
comparison test/testshape.c @ 4837:2e446923c9fb
Fixed lots of little bugs in Win32 shaping and in SDL_CalculateShapeTree(). Still not actually showing anything on Windows, though there's no crashes and everything compiles fine. Bugger.
author | egottlieb |
---|---|
date | Fri, 06 Aug 2010 20:22:14 -0400 |
parents | c68e7490e4cf |
children | 0b918c186938 |
comparison
equal
deleted
inserted
replaced
4836:7eb8ca721a5b | 4837:2e446923c9fb |
---|---|
42 int main(int argc,char** argv) { | 42 int main(int argc,char** argv) { |
43 Uint8 num_pictures; | 43 Uint8 num_pictures; |
44 LoadedPicture* pictures; | 44 LoadedPicture* pictures; |
45 int i, j; | 45 int i, j; |
46 SDL_PixelFormat* format = NULL; | 46 SDL_PixelFormat* format = NULL; |
47 Uint32 format_enum; | |
48 SDL_Window *window; | 47 SDL_Window *window; |
49 SDL_Color black = {0,0,0,0xff}; | 48 SDL_Color black = {0,0,0,0xff}; |
50 SDL_Event event; | 49 SDL_Event event; |
51 int event_pending = 0; | 50 int event_pending = 0; |
52 int should_exit = 0; | 51 int should_exit = 0; |