summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_debug_xform.c
diff options
context:
space:
mode:
authorGareth Hughes <gareth@valinux.com>2001-03-12 02:02:36 +0000
committerGareth Hughes <gareth@valinux.com>2001-03-12 02:02:36 +0000
commit79b2d13ae2280650070d5a0f157afecbfa02f9e6 (patch)
treeea2f01552ed4ebe8e2190d6dc6e82f70a70c1d78 /src/mesa/math/m_debug_xform.c
parentd4eb665c60eff14c31486986703255b836dd1574 (diff)
- Add -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L to linux builds, we've
been using it with the DRI for long enough without any issues and we need it to include the katmai functions. - Make katmai assembly work with the debug tests. - A few general cleanups.
Diffstat (limited to 'src/mesa/math/m_debug_xform.c')
-rw-r--r--src/mesa/math/m_debug_xform.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/math/m_debug_xform.c b/src/mesa/math/m_debug_xform.c
index 9600bec804..9636fc439d 100644
--- a/src/mesa/math/m_debug_xform.c
+++ b/src/mesa/math/m_debug_xform.c
@@ -1,4 +1,4 @@
-/* $Id: m_debug_xform.c,v 1.5 2001/03/12 00:48:41 gareth Exp $ */
+/* $Id: m_debug_xform.c,v 1.6 2001/03/12 02:02:36 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -155,7 +155,7 @@ static void ref_transform( GLvector4f *dst,
* Vertex transformation tests
*/
-static GLfloat s[TEST_COUNT][5] ALIGN16;
+static GLfloat s[TEST_COUNT][4] ALIGN16;
static GLfloat d[TEST_COUNT][4] ALIGN16;
static GLfloat r[TEST_COUNT][4] ALIGN16;
@@ -182,6 +182,7 @@ static int test_transform_function( transform_func func, int psize, int mtype,
mat->type = mtypes[mtype];
m = mat->m;
+ ASSERT( ((GLuint)m & 15) == 0 );
init_matrix( m );