summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-11-22 19:39:16 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-11-22 19:39:16 +0000
commitd0a82a652ddf0a8621e3e9c8be1e47e643e7af7a (patch)
tree25b4acf7a43ef84c37702a201d7ce73ecaf94ec8
parentc247c7f66f7d38bb35cedb84b1a2c3655c356ac1 (diff)
silence warning, minor clean-up
-rw-r--r--src/mesa/sparc/sparc.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mesa/sparc/sparc.c b/src/mesa/sparc/sparc.c
index 7f99eadffc..2a07374910 100644
--- a/src/mesa/sparc/sparc.c
+++ b/src/mesa/sparc/sparc.c
@@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.3
*
* Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
*
@@ -27,12 +27,13 @@
*/
+#include "sparc.h"
+
#ifdef USE_SPARC_ASM
#include "context.h"
#include "math/m_xform.h"
#include "tnl/t_context.h"
-#include "sparc.h"
#ifdef DEBUG
#include "math/m_debug.h"
@@ -68,7 +69,6 @@
_mesa_##pfx##_transform_points##sz##_3d;
-#ifdef USE_SPARC_ASM
DECLARE_XFORM_GROUP(sparc, 1)
DECLARE_XFORM_GROUP(sparc, 2)
DECLARE_XFORM_GROUP(sparc, 3)
@@ -101,11 +101,10 @@ extern void _mesa_sparc_transform_normals(NORM_ARGS);
extern void _mesa_sparc_normalize_normals(NORM_ARGS);
extern void _mesa_sparc_rescale_normals(NORM_ARGS);
-#endif
+
void _mesa_init_all_sparc_transform_asm(void)
{
-#ifdef USE_SPARC_ASM
ASSIGN_XFORM_GROUP(sparc, 1)
ASSIGN_XFORM_GROUP(sparc, 2)
ASSIGN_XFORM_GROUP(sparc, 3)
@@ -143,8 +142,6 @@ void _mesa_init_all_sparc_transform_asm(void)
_math_test_all_cliptest_functions("sparc");
_math_test_all_normal_transform_functions("sparc");
#endif
-
-#endif
}
extern unsigned int _mesa_sparc_glapi_begin;