Skip to content

Commit

Permalink
Proper credit to uClibc :)
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Feb 6, 2006
1 parent a5c3018 commit 6f49cf8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/video/SDL_gamma.c
Expand Up @@ -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"
Expand All @@ -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;
Expand Down

0 comments on commit 6f49cf8

Please sign in to comment.