summaryrefslogtreecommitdiff
path: root/src/mesa/math
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-11-17 21:01:25 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-11-17 21:01:25 +0000
commit5a9026c65d260dc185e072163999f5d810015108 (patch)
tree250630676f5a7493292cb378def17f3105f046c7 /src/mesa/math
parent9e83e8c790d8b612a7256c630f6ff7e063faaccb (diff)
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.
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_translate.h8
-rw-r--r--src/mesa/math/m_xform.c3
-rw-r--r--src/mesa/math/m_xform.h6
3 files changed, 12 insertions, 5 deletions
diff --git a/src/mesa/math/m_translate.h b/src/mesa/math/m_translate.h
index 5c60b972ff..a109dfa721 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 6bc6a9cea3..7509a350d8 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 1c6ac461e8..7fc5be3ab1 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