diff options
author | Matt Turner <[email protected]> | 2012-07-20 09:55:47 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2012-07-21 08:23:38 -0700 |
commit | 948b1c541f32b12e8264b1eeb79ccbb696661f54 (patch) | |
tree | d830f2187a7af20b6c8cbefe106a45b597aea2d9 /src/mesa/main/context.c | |
parent | ec79138138c3c88afb2052823b1e3f5271493085 (diff) |
Remove _mesa_sqrt* in favor of plain sqrt
Temporarily disabled since 2003 (see 386578c5b).
This saves us from calling sqrt() 128 times to generate the sqrttab in
one_time_init().
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index d5ccce076b9..1546c886f8b 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -404,8 +404,6 @@ one_time_init( struct gl_context *ctx ) _mesa_get_cpu_features(); - _mesa_init_sqrt_table(); - /* context dependence is never a one-time thing... */ _mesa_init_get_hash(ctx); |