src/video/SDL_video.c
branchSDL-1.2
changeset 6111 2280c0954104
parent 4399 ae9c094e9200
child 6125 760a3162e180
--- a/src/video/SDL_video.c	Thu Dec 29 04:29:53 2011 -0500
+++ b/src/video/SDL_video.c	Thu Dec 29 04:57:42 2011 -0500
@@ -979,6 +979,11 @@
 		if ( (vf->Rmask == 0xff) && (vf->Bmask == 0xff0000) ) {
 			rmask = 0xff;
 			bmask = 0xff0000;
+		} else if ( vf->Rmask == 0xFF00 && (vf->Bmask = 0xFF000000) ) {
+			amask = 0x000000FF;
+			rmask = 0x0000FF00;
+			gmask = 0x00FF0000;
+			bmask = 0xFF000000;
 		}
 		break;