summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/vertices.c
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/vertices.c')
-rw-r--r--xc/extras/Mesa/src/vertices.c31
1 files changed, 12 insertions, 19 deletions
diff --git a/xc/extras/Mesa/src/vertices.c b/xc/extras/Mesa/src/vertices.c
index b451ec6e9..da139173f 100644
--- a/xc/extras/Mesa/src/vertices.c
+++ b/xc/extras/Mesa/src/vertices.c
@@ -1,8 +1,7 @@
-/* $Id: vertices.c,v 1.1.1.1 2000/01/06 13:27:09 faith Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 3.1
+ * Version: 3.3
*
* Copyright (C) 1999 Brian Paul All Rights Reserved.
*
@@ -24,18 +23,21 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#ifndef XFree86Server
-#include <stdio.h>
+
+#ifdef PC_HEADER
+#include "all.h"
#else
-#include "GL/xf86glx.h"
-#endif
+#include "glheader.h"
#include "types.h"
#include "vertices.h"
+#endif
+
#if defined(USE_X86_ASM)
#include "X86/common_x86asm.h"
#endif
+
/* The start of a bunch of vertex oriented geometry routines. These
* are expected to support the production of driver-specific fast paths
* for CVA and eventually normal processing.
@@ -67,7 +69,7 @@
#endif
-static void transform_v16(GLfloat *f,
+static void _PROJAPI transform_v16(GLfloat *f,
const GLfloat *m,
const GLfloat *obj,
GLuint obj_stride,
@@ -88,7 +90,7 @@ static void transform_v16(GLfloat *f,
/* Project all vertices upto but not including last. Guarenteed to be
* at least one such vertex.
*/
-static void project_verts(GLfloat *first,
+static void _PROJAPI project_verts(GLfloat *first,
GLfloat *last,
const GLfloat *m,
GLuint stride )
@@ -107,7 +109,7 @@ static void project_verts(GLfloat *first,
}
}
-static void project_clipped_verts(GLfloat *first,
+static void _PROJAPI project_clipped_verts(GLfloat *first,
GLfloat *last,
const GLfloat *m,
GLuint stride,
@@ -132,7 +134,7 @@ static void project_clipped_verts(GLfloat *first,
-static void cliptest_v16( GLfloat *first,
+static void _PROJAPI cliptest_v16( GLfloat *first,
GLfloat *last,
GLubyte *p_clipOr,
GLubyte *p_clipAnd,
@@ -191,12 +193,3 @@ gl_project_func gl_project_v16 = project_verts;
void gl_init_vertices()
{
}
-
-
-
-
-
-
-
-
-