summaryrefslogtreecommitdiff
path: root/src/mesa/math
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2001-01-08 04:09:41 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2001-01-08 04:09:41 +0000
commitb980b2eeb62dc48101a7481d02d196c80b9da397 (patch)
tree2b9bf4b63b99a6df4e96123181da0a624289ad92 /src/mesa/math
parent44d8de433e684cb4c2bc4dfc5cc6919af1f3cc55 (diff)
Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out drivers
that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
Diffstat (limited to 'src/mesa/math')
-rw-r--r--src/mesa/math/m_xform.c3
-rw-r--r--src/mesa/math/mathmod.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/math/m_xform.c b/src/mesa/math/m_xform.c
index 72aec3a06a..77acce922e 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.5 2000/12/26 05:09:31 keithw Exp $ */
+/* $Id: m_xform.c,v 1.6 2001/01/08 04:09:41 keithw Exp $ */
/*
* Mesa 3-D graphics library
@@ -45,6 +45,7 @@
#include "m_matrix.h"
#include "m_translate.h"
#include "m_xform.h"
+#include "mathmod.h"
#ifdef DEBUG
diff --git a/src/mesa/math/mathmod.h b/src/mesa/math/mathmod.h
index 35091a7aae..f27427d81b 100644
--- a/src/mesa/math/mathmod.h
+++ b/src/mesa/math/mathmod.h
@@ -1,8 +1,6 @@
#ifndef _MESA_MATH_H_
#define _MESA_MATH_H_
-#include <math.h>
-
extern void _math_init( void );
#endif