summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-05-05 17:02:33 +0000
committerBrian Paul <[email protected]>2000-05-05 17:02:33 +0000
commit9635376e446999913017c9e4e87315e5893c8264 (patch)
treebdd74f3d7683ac3e19888953a9ad47d72b877ccd
parent9f0289dfac0c28feee4901eb72903fa4108624d1 (diff)
fixed the nested extern warning
-rw-r--r--src/mesa/x86/x86.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/x86/x86.c b/src/mesa/x86/x86.c
index 3ec1de4fb26..3696cd818ba 100644
--- a/src/mesa/x86/x86.c
+++ b/src/mesa/x86/x86.c
@@ -1,4 +1,4 @@
-/* $Id: x86.c,v 1.5 2000/04/15 23:19:05 brianp Exp $ */
+/* $Id: x86.c,v 1.6 2000/05/05 17:02:33 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -87,8 +87,7 @@ extern void _ASMAPI gl_v16_x86_general_xform(GLfloat *dest,
gl_transform_tab[cma][vsize][MATRIX_3D] \
= gl_##pfx##_transform_points##vsize##_3d_##masked;
-void gl_init_x86_asm_transforms( void )
-{
+
#ifdef USE_X86_ASM
DECLARE_XFORM_GROUP( x86, 2, raw )
DECLARE_XFORM_GROUP( x86, 3, raw )
@@ -102,8 +101,12 @@ void gl_init_x86_asm_transforms( void )
GLubyte clipMask[],
GLubyte *orMask,
GLubyte *andMask );
+#endif
-
+
+void gl_init_x86_asm_transforms( void )
+{
+#ifdef USE_X86_ASM
ASSIGN_XFORM_GROUP( x86, 0, 2, raw )
ASSIGN_XFORM_GROUP( x86, 0, 3, raw )
ASSIGN_XFORM_GROUP( x86, 0, 4, raw )