Proper credit to uClibc :)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401338
This commit is contained in:
parent
16adab89bf
commit
8b467b1a53
1 changed files with 8 additions and 8 deletions
|
@ -26,14 +26,8 @@
|
|||
|
||||
#ifdef HAVE_MATH_H
|
||||
#include <math.h> /* Used for calculating gamma ramps */
|
||||
#endif
|
||||
|
||||
#include "SDL_error.h"
|
||||
#include "SDL_stdlib.h"
|
||||
#include "SDL_string.h"
|
||||
#include "SDL_sysvideo.h"
|
||||
|
||||
#ifndef HAVE_MATH_H
|
||||
#else
|
||||
/* Math routines from uClibc: http://www.uclibc.org */
|
||||
#include "math_private.h"
|
||||
#include "e_sqrt.h"
|
||||
#include "e_pow.h"
|
||||
|
@ -42,6 +36,12 @@
|
|||
#define log(x) __ieee754_log(x)
|
||||
#endif
|
||||
|
||||
#include "SDL_error.h"
|
||||
#include "SDL_stdlib.h"
|
||||
#include "SDL_string.h"
|
||||
#include "SDL_sysvideo.h"
|
||||
|
||||
|
||||
static void CalculateGammaRamp(float gamma, Uint16 *ramp)
|
||||
{
|
||||
int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue