From 5a9026c65d260dc185e072163999f5d810015108 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 17 Nov 2000 21:01:25 +0000 Subject: Minor header file changes to silence warnings. Added _mesa_enable_sw_extensions(), called by software-only drivers to enable all s/w-supported GL extensions. --- src/mesa/math/m_translate.h | 8 ++++++-- src/mesa/math/m_xform.c | 3 ++- src/mesa/math/m_xform.h | 6 ++++-- 3 files changed, 12 insertions(+), 5 deletions(-) (limited to 'src/mesa/math') diff --git a/src/mesa/math/m_translate.h b/src/mesa/math/m_translate.h index 5c60b972ff5..a109dfa721b 100644 --- a/src/mesa/math/m_translate.h +++ b/src/mesa/math/m_translate.h @@ -1,4 +1,4 @@ -/* $Id: m_translate.h,v 1.1 2000/11/16 21:05:41 keithw Exp $ */ +/* $Id: m_translate.h,v 1.2 2000/11/17 21:01:49 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -28,6 +28,8 @@ #ifndef _M_TRANSLATE_H_ #define _M_TRANSLATE_H_ +#include "config.h" + typedef void (*trans_1f_func)(GLfloat *to, CONST void *ptr, @@ -86,7 +88,9 @@ extern trans_4ub_func gl_trans_4ub_tab[5][MAX_TYPES]; extern trans_4f_func gl_trans_4f_tab[5][MAX_TYPES]; -extern void gl_init_translate( void ); + +extern void +_math_init_translate( void ); #endif diff --git a/src/mesa/math/m_xform.c b/src/mesa/math/m_xform.c index 6bc6a9cea3b..7509a350d80 100644 --- a/src/mesa/math/m_xform.c +++ b/src/mesa/math/m_xform.c @@ -1,4 +1,4 @@ -/* $Id: m_xform.c,v 1.1 2000/11/16 21:05:41 keithw Exp $ */ +/* $Id: m_xform.c,v 1.2 2000/11/17 21:01:49 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -41,6 +41,7 @@ #include "mmath.h" #include "m_matrix.h" +#include "m_translate.h" #include "m_xform.h" diff --git a/src/mesa/math/m_xform.h b/src/mesa/math/m_xform.h index 1c6ac461e82..7fc5be3ab15 100644 --- a/src/mesa/math/m_xform.h +++ b/src/mesa/math/m_xform.h @@ -1,4 +1,4 @@ -/* $Id: m_xform.h,v 1.1 2000/11/16 21:05:41 keithw Exp $ */ +/* $Id: m_xform.h,v 1.2 2000/11/17 21:01:49 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -34,6 +34,7 @@ #include "glheader.h" #include "config.h" +#include "math/math.h" #include "math/m_vector.h" #include "math/m_matrix.h" @@ -78,7 +79,8 @@ extern void gl_transform_vector( GLfloat u[4], const GLfloat m[16] ); -extern void gl_init_transformation( void ); +extern void +_math_init_transformation( void ); /* KW: Clip functions now do projective divide as well. The projected -- cgit v1.2.3