comparison src/video/SDL_shape.c @ 4822:55f32099a4b5

Worked on Windows implementation and the quad-trees.
author egottlieb
date Mon, 02 Aug 2010 01:54:59 -0400
parents c68e7490e4cf
children 5660aac926e9 1f9915666afd
comparison
equal deleted inserted replaced
4821:1fd1b7a2ba8b 4822:55f32099a4b5
128 case(1): 128 case(1):
129 pixel_value = *(Uint8*)pixel; 129 pixel_value = *(Uint8*)pixel;
130 break; 130 break;
131 case(2): 131 case(2):
132 pixel_value = *(Uint16*)pixel; 132 pixel_value = *(Uint16*)pixel;
133 break;
134 case(3):
135 pixel_value = *(Uint32*)pixel & (~mask->format->Amask);
133 break; 136 break;
134 case(4): 137 case(4):
135 pixel_value = *(Uint32*)pixel; 138 pixel_value = *(Uint32*)pixel;
136 break; 139 break;
137 } 140 }