Changeset 495 for libcaca/trunk/src/bitmap.c
- Timestamp:
- Jul 13, 2005, 7:45:47 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/bitmap.c
r464 r495 46 46 #include <limits.h> 47 47 #include <string.h> 48 #include <math.h>49 48 50 49 #include "caca.h" … … 339 338 340 339 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); 342 341 } 343 342
Note: See TracChangeset
for help on using the changeset viewer.