Ignore:
Timestamp:
Jul 13, 2005, 7:45:47 PM (17 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • src/math.c src/bitmap.c src/caca.h Removed powf call, added caca_powf, to remove libm depencies and problems on old compilers/linkers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/bitmap.c

    r464 r495  
    4646#include <limits.h>
    4747#include <string.h>
    48 #include <math.h>
    4948
    5049#include "caca.h"
     
    339338
    340339    for(i = 0; i < 4096; i++)
    341         bitmap->gammatab[i] = 4096.0 * powf((float)i / 4096.0, 1.0 / gammaval);
     340        bitmap->gammatab[i] = 4096.0 * caca_powf((float)i / 4096.0, 1.0 / gammaval);
    342341}
    343342
Note: See TracChangeset for help on using the changeset viewer.