Changeset d7e3f1ad in mainline for uspace/fb/fb.c
- Timestamp:
- 2006-09-06T09:19:40Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9dae51d7
- Parents:
- e2bf639
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/fb/fb.c
re2bf639 rd7e3f1ad 155 155 { 156 156 uint8_t *scr = dst; 157 #if (defined(BIG_ENDIAN) || defined(FB_BIG_ENDIAN))157 #if defined(FB_INVERT_ENDIAN) 158 158 scr[0] = RED(rgb, 8); 159 159 scr[1] = GREEN(rgb, 8); … … 171 171 { 172 172 uint8_t *scr = src; 173 #if (defined(BIG_ENDIAN) || defined(FB_BIG_ENDIAN))173 #if defined(FB_INVERT_ENDIAN) 174 174 return scr[0] << 16 | scr[1] << 8 | scr[2]; 175 175 #else
Note:
See TracChangeset
for help on using the changeset viewer.