equal
deleted
inserted
replaced
985 /* Keep the video format, as long as the high 8 bits are |
985 /* Keep the video format, as long as the high 8 bits are |
986 unused or alpha */ |
986 unused or alpha */ |
987 if ( (vf->Rmask == 0xff) && (vf->Bmask == 0xff0000) ) { |
987 if ( (vf->Rmask == 0xff) && (vf->Bmask == 0xff0000) ) { |
988 rmask = 0xff; |
988 rmask = 0xff; |
989 bmask = 0xff0000; |
989 bmask = 0xff0000; |
990 } else if ( vf->Rmask == 0xFF00 && (vf->Bmask = 0xFF000000) ) { |
990 } else if ( vf->Rmask == 0xFF00 && (vf->Bmask == 0xFF000000) ) { |
991 amask = 0x000000FF; |
991 amask = 0x000000FF; |
992 rmask = 0x0000FF00; |
992 rmask = 0x0000FF00; |
993 gmask = 0x00FF0000; |
993 gmask = 0x00FF0000; |
994 bmask = 0xFF000000; |
994 bmask = 0xFF000000; |
995 } |
995 } |