diff options
author | Brian Paul <[email protected]> | 2012-02-08 20:11:58 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-02-10 08:06:56 -0700 |
commit | ae509f88a54b9cc32f16099109330f2792593c83 (patch) | |
tree | 482cf3dde475b64fcc3c2d2e9dee17db6df3c23f /src/mesa/x86 | |
parent | 4dacf793c8bf5c18f66efeb04e9d8a7e037e7378 (diff) |
mesa: remove gl_light::_SpotExpTable field
Just use pow() instead. Spot lights aren't too common and fixed-function
lighting isn't as important as it used to me.
This saves 32KB per context. Each table was 4KB and there's 8 lights.
Diffstat (limited to 'src/mesa/x86')
-rw-r--r-- | src/mesa/x86/gen_matypes.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/x86/gen_matypes.c b/src/mesa/x86/gen_matypes.c index 97f71f92cea..7af82b4aea6 100644 --- a/src/mesa/x86/gen_matypes.c +++ b/src/mesa/x86/gen_matypes.c @@ -209,7 +209,6 @@ int main( int argc, char **argv ) OFFSET( "LIGHT_NORM_DIRECTION ", struct gl_light, _NormSpotDirection ); OFFSET( "LIGHT_VP_INF_SPOT_ATTEN ", struct gl_light, _VP_inf_spot_attenuation ); printf( "\n" ); - OFFSET( "LIGHT_SPOT_EXP_TABLE ", struct gl_light, _SpotExpTable ); OFFSET( "LIGHT_MAT_AMBIENT ", struct gl_light, _MatAmbient ); OFFSET( "LIGHT_MAT_DIFFUSE ", struct gl_light, _MatDiffuse ); OFFSET( "LIGHT_MAT_SPECULAR ", struct gl_light, _MatSpecular ); |