Changeset 2036 for libcaca/trunk


Ignore:
Timestamp:
Nov 23, 2007, 5:39:29 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Do not assume default gamma value is 1.0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/gamma.c

    r1753 r2036  
    3535    caca_display_t *dp;
    3636    cucul_dither_t *left, *right;
    37     float gam = 1.0;
     37    float gam;
    3838    int x;
    3939
     
    6666    right = cucul_create_dither(32, 256, 4, 4 * 256,
    6767                                0x00ff0000, 0x0000ff00, 0x000000ff, 0x0);
     68    gam = cucul_get_dither_gamma(right);
    6869    caca_set_display_time(dp, 20000);
    6970
Note: See TracChangeset for help on using the changeset viewer.