Changeset 724 for libcaca/trunk/src


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/src/cacaserver.c

    r721 r724  
    215215               | ((uint32_t)buf[10] << 8) | (uint32_t)buf[11];
    216216
    217         size = 12 + width * height * 5 + 4;
     217        size = 12 + width * height * 8 + 4;
    218218        buf = server->input = realloc(server->input, size);
    219219        read(0, buf + 12, size - 12);
Note: See TracChangeset for help on using the changeset viewer.