comparison src/video/SDL_shape.c @ 4789:a6bc01875d20

Fixed a pair of syntax errors.
author Eli Gottlieb <eligottlieb@gmail.com>
date Sun, 11 Jul 2010 17:11:22 -0400
parents e25ad8d97027
children 6f0bc179771c
comparison
equal deleted inserted replaced
4788:0bfda420c936 4789:a6bc01875d20
39 39
40 SDL_bool SDL_IsShapedWindow(const SDL_Window *window) { 40 SDL_bool SDL_IsShapedWindow(const SDL_Window *window) {
41 if(window == NULL) 41 if(window == NULL)
42 return SDL_FALSE; 42 return SDL_FALSE;
43 else 43 else
44 return (SDL_bool)(window->shaper != NULL) 44 return (SDL_bool)(window->shaper != NULL);
45 } 45 }
46 46
47 /* REQUIRES that bitmap point to a w-by-h bitmap with 1bpp. */ 47 /* REQUIRES that bitmap point to a w-by-h bitmap with 1bpp. */
48 void SDL_CalculateShapeBitmap(Uint8 alphacutoff,SDL_Surface *shape,Uint8* bitmap,Uint8 ppb,Uint8 value) { 48 void SDL_CalculateShapeBitmap(Uint8 alphacutoff,SDL_Surface *shape,Uint8* bitmap,Uint8 ppb,Uint8 value) {
49 int x = 0; 49 int x = 0;