diff options
author | Brian Paul <[email protected]> | 2009-02-11 13:52:17 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-02-11 13:52:17 -0700 |
commit | 2218592d47b963791105f5b8fa1a0b3f3a07f674 (patch) | |
tree | c7a10c524f2c2242e64cbe8f90697b6fae43fa8d /src/mesa/main | |
parent | c5bae14245192e83e7a91a6b72dc8451dd76f8ef (diff) |
mesa: get rid of _math_init()
Only VBO uses the evaluator code so call _math_init_eval() there.
Only TNL uses the transform/translate code so call _math_init_transformation()
and _math_init_translate9) there.
This is a step toward resolving some symbol collisions between Mesa's and
gallium's x86 codegen.
Have VBO and TNL modules call _math_init_transformation()
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/context.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 39c7fa037e0..c5b90d9cda7 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -151,10 +151,7 @@ #include "shader/atifragshader.h" #endif #if _HAVE_FULL_GL -#include "math/m_translate.h" #include "math/m_matrix.h" -#include "math/m_xform.h" -#include "math/mathmod.h" #endif #ifdef USE_SPARC_ASM @@ -387,13 +384,9 @@ one_time_init( GLcontext *ctx ) _mesa_init_sqrt_table(); -#if _HAVE_FULL_GL - _math_init(); - for (i = 0; i < 256; i++) { _mesa_ubyte_to_float_color_tab[i] = (float) i / 255.0F; } -#endif #ifdef USE_SPARC_ASM _mesa_init_sparc_glapi_relocs(); |