diff 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
line wrap: on
line diff
--- a/src/video/SDL_shape.c	Sun Aug 01 23:27:22 2010 -0400
+++ b/src/video/SDL_shape.c	Mon Aug 02 01:54:59 2010 -0400
@@ -131,6 +131,9 @@
 				case(2):
 					pixel_value = *(Uint16*)pixel;
 					break;
+				case(3):
+					pixel_value = *(Uint32*)pixel & (~mask->format->Amask);
+					break;
 				case(4):
 					pixel_value = *(Uint32*)pixel;
 					break;