diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-05-05 17:02:33 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-05-05 17:02:33 +0000 |
commit | 9635376e446999913017c9e4e87315e5893c8264 (patch) | |
tree | bdd74f3d7683ac3e19888953a9ad47d72b877ccd /src/mesa/x86 | |
parent | 9f0289dfac0c28feee4901eb72903fa4108624d1 (diff) |
fixed the nested extern warning
Diffstat (limited to 'src/mesa/x86')
-rw-r--r-- | src/mesa/x86/x86.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mesa/x86/x86.c b/src/mesa/x86/x86.c index 3ec1de4fb2..3696cd818b 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 ) |