From e16f6e3f234391027b300ec2ca8b56fc13aac825 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Sat, 26 Jun 2004 00:02:51 +0000 Subject: Re-enable SPARC assembly on sunos5-gcc platform. --- src/mesa/main/context.c | 2 +- src/mesa/sparc/sparc.c | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 1a185bc9c4e..67f797f96ea 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -124,7 +124,7 @@ #endif #ifdef USE_SPARC_ASM -#include "SPARC/sparc.h" +#include "sparc/sparc.h" #endif #ifndef MESA_VERBOSE diff --git a/src/mesa/sparc/sparc.c b/src/mesa/sparc/sparc.c index 550c33856b0..d0c6bba58e8 100644 --- a/src/mesa/sparc/sparc.c +++ b/src/mesa/sparc/sparc.c @@ -88,9 +88,9 @@ extern GLvector4f *_mesa_sparc_cliptest_points4_np(GLvector4f *clip_vec, #define NORM_ARGS const GLmatrix *mat, \ GLfloat scale, \ - const GLvector3f *in, \ + const GLvector4f *in, \ const GLfloat *lengths, \ - GLvector3f *dest + GLvector4f *dest extern void _mesa_sparc_transform_normalize_normals(NORM_ARGS); extern void _mesa_sparc_transform_normalize_normals_no_rot(NORM_ARGS); @@ -182,6 +182,3 @@ void _mesa_init_sparc_glapi_relocs(void) } #endif /* USE_SPARC_ASM */ } - - - -- cgit v1.2.3