diff options
author | Gareth Hughes <[email protected]> | 2001-03-12 02:02:36 +0000 |
---|---|---|
committer | Gareth Hughes <[email protected]> | 2001-03-12 02:02:36 +0000 |
commit | 79b2d13ae2280650070d5a0f157afecbfa02f9e6 (patch) | |
tree | ea2f01552ed4ebe8e2190d6dc6e82f70a70c1d78 /src/mesa/math/m_debug_xform.c | |
parent | d4eb665c60eff14c31486986703255b836dd1574 (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.c | 5 |
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 9600bec804c..9636fc439d2 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 ); |