Changeset 1870 for libcaca/trunk/cucul/legacy.c
- Timestamp:
- 11/03/07 23:59:53 (6 years ago)
- File:
-
- 1 edited
-
libcaca/trunk/cucul/legacy.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cucul/legacy.c
r1788 r1870 64 64 65 65 /* 66 * Functions from dither.c 67 */ 68 int cucul_set_dither_invert(cucul_dither_t *d, int value) 69 { 70 float gamma = cucul_get_dither_gamma(d); 71 72 if(gamma * (value ? -1 : 1) < 0) 73 cucul_set_dither_gamma(d, -gamma); 74 75 return 0; 76 } 77 78 /* 66 79 * Functions from import.c 67 80 */
Note: See TracChangeset
for help on using the changeset viewer.
