summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/xform.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/xform.h')
-rw-r--r--xc/extras/Mesa/src/xform.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/xc/extras/Mesa/src/xform.h b/xc/extras/Mesa/src/xform.h
index 8be808b14..d8757b803 100644
--- a/xc/extras/Mesa/src/xform.h
+++ b/xc/extras/Mesa/src/xform.h
@@ -1,8 +1,7 @@
-/* $Id: xform.h,v 1.1.1.1 2000/01/06 13:27:10 faith Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 3.1
+ * Version: 3.3
*
* Copyright (C) 1999 Brian Paul All Rights Reserved.
*
@@ -34,6 +33,13 @@
#include "types.h"
+#ifdef USE_X86_ASM
+#define _XFORMAPI _ASMAPI
+#define _XFORMAPIP _ASMAPIP
+#else
+#define _XFORMAPI
+#define _XFORMAPIP *
+#endif
/*
* Transform a point (column vector) by a matrix: Q = M * P
@@ -103,13 +109,12 @@ extern void gl_init_transformation( void );
* into a straight-forward matrix transformation, with asm acceleration
* automatically available.
*/
-typedef GLvector4f *(*clip_func)( GLvector4f *vClip,
+typedef GLvector4f * (_XFORMAPIP clip_func)( GLvector4f *vClip,
GLvector4f *vProj,
GLubyte clipMask[],
GLubyte *orMask,
GLubyte *andMask );
-
typedef void (*dotprod_func)( GLvector4f *out_vec,
GLuint elt,
const GLvector4f *coord_vec,
@@ -128,7 +133,7 @@ typedef void (*vec_copy_func)( GLvector4f *to,
* when the mask byte is zero. This is always present as a
* parameter, to allow a unified interface.
*/
-typedef void (*transform_func)( GLvector4f *to_vec,
+typedef void (_XFORMAPIP transform_func)( GLvector4f *to_vec,
const GLmatrix *mat,
const GLvector4f *from_vec,
const GLubyte *clipmask,