Ignore:
Timestamp:
Apr 6, 2006, 3:41:56 PM (14 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_conio.c

    r689 r724  
    9999{
    100100    char *screen = kk->drv.p->screen;
    101     uint8_t *attr = kk->qq->attr;
     101    uint32_t *attr = kk->qq->attr;
    102102    uint32_t *chars = kk->qq->chars;
    103103    int n;
     
    106106    {
    107107        *screen++ = _cucul_utf32_to_cp437(*chars++);
    108         *screen++ = *attr++;
     108        *screen++ = _cucul_rgba32_to_ansi8(*attr++);
    109109    }
    110110#   if defined(SCREENUPDATE_IN_PC_H)
Note: See TracChangeset for help on using the changeset viewer.