Ignore:
Timestamp:
Nov 30, 2003, 4:01:55 PM (19 years ago)
Author:
Sam Hocevar
Message:
  • src/bitmap.c: + Fixed an endianness issue in the byte reader. + Decreased precision in RGB and HSV values to avoid overflows. + New dithering method: 2x2 ordered. + New renderer, with background colour awareness.
  • configure.ac: + Check for <endian.h>.
  • examples/demo.c examples/view.c: + Fixed an endianness issue in cacaview. + Adapted code to the additional dithering method.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/caca.h

    r235 r238  
    9090{
    9191    CACA_DITHERING_NONE = 0,
    92     CACA_DITHERING_ORDERED4 = 1,
    93     CACA_DITHERING_ORDERED8 = 2,
    94     CACA_DITHERING_RANDOM = 3
     92    CACA_DITHERING_ORDERED2 = 1,
     93    CACA_DITHERING_ORDERED4 = 2,
     94    CACA_DITHERING_ORDERED8 = 3,
     95    CACA_DITHERING_RANDOM = 4
    9596};
    9697
Note: See TracChangeset for help on using the changeset viewer.