summaryrefslogtreecommitdiff
path: root/src/mesa/math
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-11 13:52:17 -0700
committerBrian Paul <brianp@vmware.com>2009-02-11 13:52:17 -0700
commit2218592d47b963791105f5b8fa1a0b3f3a07f674 (patch)
treec7a10c524f2c2242e64cbe8f90697b6fae43fa8d /src/mesa/math
parentc5bae14245192e83e7a91a6b72dc8451dd76f8ef (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/math')
-rw-r--r--src/mesa/math/m_xform.c8
-rw-r--r--src/mesa/math/mathmod.h2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/mesa/math/m_xform.c b/src/mesa/math/m_xform.c
index 901ae5b416..fdc8abd434 100644
--- a/src/mesa/math/m_xform.c
+++ b/src/mesa/math/m_xform.c
@@ -220,11 +220,3 @@ _math_init_transformation( void )
_mesa_init_all_x86_64_transform_asm();
#endif
}
-
-void
-_math_init( void )
-{
- _math_init_transformation();
- _math_init_translate();
- _math_init_eval();
-}
diff --git a/src/mesa/math/mathmod.h b/src/mesa/math/mathmod.h
index 6fbaaea94b..fb0862b5b1 100644
--- a/src/mesa/math/mathmod.h
+++ b/src/mesa/math/mathmod.h
@@ -36,6 +36,4 @@
#ifndef _MESA_MATH_H_
#define _MESA_MATH_H_
-extern void _math_init( void );
-
#endif