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.c

    r236 r238  
    186186    {
    187187        "no",
     188        "2x2 ordered",
    188189        "4x4 ordered",
    189190        "8x8 ordered",
     
    191192    };
    192193
    193     if(dithering < 0 || dithering > 3)
     194    if(dithering < 0 || dithering > 4)
    194195        return "unknown";
    195196
Note: See TracChangeset for help on using the changeset viewer.