Changeset 30885b9 in mainline for kernel/arch/ia32/src/drivers/vesa.c


Ignore:
Timestamp:
2009-07-31T19:11:54Z (15 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/ia32/src/drivers/vesa.c

    r646b996 r30885b9  
    8686                    && (vesa_green_mask == 5) && (vesa_green_pos == 5)
    8787                    && (vesa_blue_mask == 5) && (vesa_blue_pos == 0))
    88                         visual = VISUAL_RGB_5_5_5;
     88                        visual = VISUAL_BGR_5_5_5;
    8989                else
    90                         visual = VISUAL_RGB_5_6_5;
     90                        visual = VISUAL_BGR_5_6_5;
    9191                break;
    9292        case 24:
    93                 visual = VISUAL_RGB_8_8_8;
     93                visual = VISUAL_BGR_8_8_8;
    9494                break;
    9595        case 32:
    96                 visual = VISUAL_RGB_0_8_8_8;
     96                visual = VISUAL_BGR_8_8_8_0;
    9797                break;
    9898        default:
Note: See TracChangeset for help on using the changeset viewer.