Ignore:
Timestamp:
2009-07-31T19:11:54Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a405563
Parents:
646b996
Message:

RGB conversion functions should work with a well-defined pixel format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/scr.c

    r646b996 r30885b9  
    134134                case 16:
    135135                        fb_scanline = fb_linebytes * (fb_depth >> 3);
    136                         visual = VISUAL_RGB_5_6_5;
     136                        visual = VISUAL_BGR_5_6_5;
    137137                        break;
    138138                case 24:
    139139                        fb_scanline = fb_linebytes * 4;
    140                         visual = VISUAL_RGB_8_8_8_0;
     140                        visual = VISUAL_BGR_8_8_8_0;
    141141                        break;
    142142                case 32:
     
    178178                case 16:
    179179                        fb_scanline = fb_linebytes * (fb_depth >> 3);
    180                         visual = VISUAL_RGB_5_6_5;
     180                        visual = VISUAL_BGR_5_6_5;
    181181                        break;
    182182                case 24:
    183183                        fb_scanline = fb_linebytes * 4;
    184                         visual = VISUAL_RGB_8_8_8_0;
     184                        visual = VISUAL_BGR_8_8_8_0;
    185185                        break;
    186186                case 32:
Note: See TracChangeset for help on using the changeset viewer.