Changeset 1833
- Timestamp:
- Sep 30, 2007, 6:49:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cucul/dither.c
r1462 r1833 809 809 { 810 810 int *floyd_steinberg, *fs_r, *fs_g, *fs_b; 811 uint32_t savedattr; 811 812 int fs_length; 812 813 int x1, y1, x2, y2, pitch, deltax, deltay; … … 815 816 if(!d || !pixels) 816 817 return 0; 818 819 savedattr = cucul_get_attr(cv, -1, -1); 817 820 818 821 x1 = x; x2 = x + w - 1; … … 1037 1040 cucul_put_char(cv, x, y, outch); 1038 1041 1039 d->increment_dither();1042 d->increment_dither(); 1040 1043 } 1041 1044 /* end loop */ … … 1043 1046 1044 1047 free(floyd_steinberg); 1048 1049 cucul_set_attr(cv, savedattr); 1045 1050 1046 1051 return 0;
Note: See TracChangeset
for help on using the changeset viewer.