src/video/directfb/SDL_DirectFB_video.c
changeset 790 d39b74b8583c
parent 769 b8d311d90021
child 818 7ac8ec80ea68
     1.1 --- a/src/video/directfb/SDL_DirectFB_video.c	Wed Jan 28 01:57:34 2004 +0000
     1.2 +++ b/src/video/directfb/SDL_DirectFB_video.c	Wed Jan 28 22:01:02 2004 +0000
     1.3 @@ -250,7 +250,7 @@
     1.4            if (format->Rmask == 0x7C00 &&
     1.5                format->Gmask == 0x03E0 &&
     1.6                format->Bmask == 0x001F)
     1.7 -            return DSPF_RGB15;
     1.8 +            return DSPF_ARGB1555;
     1.9            break;
    1.10            
    1.11          case 24:
    1.12 @@ -280,7 +280,7 @@
    1.13          case 8:
    1.14            return DSPF_LUT8;
    1.15  	case 15:
    1.16 -	  return DSPF_RGB15;
    1.17 +	  return DSPF_ARGB1555;
    1.18  	case 16:
    1.19  	  return DSPF_RGB16;
    1.20  	case 24:
    1.21 @@ -329,7 +329,7 @@
    1.22        format->Amask = 0x000000FF;
    1.23        break;
    1.24  
    1.25 -    case DSPF_RGB15:
    1.26 +    case DSPF_ARGB1555:
    1.27        format->Rmask = 0x00007C00;
    1.28        format->Gmask = 0x000003E0;
    1.29        format->Bmask = 0x0000001F;