Ignore:
Timestamp:
Apr 6, 2006, 3:41:56 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Store colour information on 32 bits, for future 12-bit colour support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_win32.c

    r689 r724  
    211211
    212212        kk->drv.p->buffer[i].Attributes =
    213                 win32_fg_palette[kk->qq->attr[i] & 0xf]
    214                  | win32_bg_palette[kk->qq->attr[i] >> 4];
     213                win32_fg_palette[_cucul_rgba32_to_ansi4fg(kk->qq->attr[i])]
     214                 | win32_bg_palette[_cucul_rgba32_to_ansi4bg(kk->qq->attr[i])];
    215215    }
    216216
Note: See TracChangeset for help on using the changeset viewer.