Commit 8b467b1a authored by Sam Lantinga's avatar Sam Lantinga

Proper credit to uClibc :)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401338
parent 16adab89
...@@ -26,14 +26,8 @@ ...@@ -26,14 +26,8 @@
#ifdef HAVE_MATH_H #ifdef HAVE_MATH_H
#include <math.h> /* Used for calculating gamma ramps */ #include <math.h> /* Used for calculating gamma ramps */
#endif #else
/* Math routines from uClibc: http://www.uclibc.org */
#include "SDL_error.h"
#include "SDL_stdlib.h"
#include "SDL_string.h"
#include "SDL_sysvideo.h"
#ifndef HAVE_MATH_H
#include "math_private.h" #include "math_private.h"
#include "e_sqrt.h" #include "e_sqrt.h"
#include "e_pow.h" #include "e_pow.h"
...@@ -42,6 +36,12 @@ ...@@ -42,6 +36,12 @@
#define log(x) __ieee754_log(x) #define log(x) __ieee754_log(x)
#endif #endif
#include "SDL_error.h"
#include "SDL_stdlib.h"
#include "SDL_string.h"
#include "SDL_sysvideo.h"
static void CalculateGammaRamp(float gamma, Uint16 *ramp) static void CalculateGammaRamp(float gamma, Uint16 *ramp)
{ {
int i; int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment