comparison src/video/SDL_gamma.c @ 2698:e1da92da346c gsoc2008_nds

Clean up.
author Darren Alton <dalton@stevens.edu>
date Wed, 27 Aug 2008 04:23:38 +0000
parents c121d94672cb
children a98604b691c8
comparison
equal deleted inserted replaced
2697:c9121b04cffa 2698:e1da92da346c
68 } 68 }
69 ramp[i] = (Uint16) value; 69 ramp[i] = (Uint16) value;
70 } 70 }
71 } 71 }
72 } 72 }
73
73 static void 74 static void
74 CalculateGammaFromRamp(float *gamma, Uint16 * ramp) 75 CalculateGammaFromRamp(float *gamma, Uint16 * ramp)
75 { 76 {
76 /* The following is adapted from a post by Garrett Bass on OpenGL 77 /* The following is adapted from a post by Garrett Bass on OpenGL
77 Gamedev list, March 4, 2000. 78 Gamedev list, March 4, 2000.